| 1 | config GCC_VERSION |
| 2 | string |
| 3 | default "3.4.6" if GCC_VERSION_3_4_6 |
| 4 | default "4.1.2" if GCC_VERSION_4_1_2 |
| 5 | default "4.2.4" if GCC_VERSION_4_2_4 |
| 6 | default "4.3.3" if GCC_VERSION_4_3_3 |
| 7 | default "4.3.3+cs" if GCC_VERSION_4_3_3_CS |
| 8 | default "4.3.4" if GCC_VERSION_4_3_4 |
| 9 | default "4.4.1" if GCC_VERSION_4_4_1 |
| 10 | default "4.4.1+cs" if GCC_VERSION_4_4_1_CS |
| 11 | default "4.4.2" if GCC_VERSION_4_4_2 |
| 12 | default "4.4.3" if GCC_VERSION_4_4_3 |
| 13 | default "4.4.3+cs" if GCC_VERSION_4_4_3_CS |
| 14 | default "llvm" if GCC_VERSION_LLVM |
| 15 | default "4.1.2" |
| 16 | |
| 17 | config GCC_VERSION_3 |
| 18 | bool |
| 19 | default y if GCC_VERSION_3_4_6 |
| 20 | |
| 21 | config GCC_VERSION_3_4 |
| 22 | bool |
| 23 | default y if GCC_VERSION_3_4_6 |
| 24 | |
| 25 | if !LINUX_2_4 |
| 26 | |
| 27 | config GCC_VERSION_4 |
| 28 | bool |
| 29 | default y if GCC_VERSION_4_1 |
| 30 | default y if GCC_VERSION_4_2 |
| 31 | default y if GCC_VERSION_4_3 |
| 32 | default y if GCC_VERSION_4_4 |
| 33 | |
| 34 | config GCC_VERSION_4_1 |
| 35 | bool |
| 36 | default y if GCC_VERSION_4_1_2 |
| 37 | |
| 38 | config GCC_VERSION_4_2 |
| 39 | bool |
| 40 | default y if GCC_VERSION_4_2_4 |
| 41 | default y if GCC_VERSION_LLVM |
| 42 | |
| 43 | config GCC_VERSION_4_3 |
| 44 | bool |
| 45 | default y if GCC_VERSION_4_3_3 |
| 46 | default y if GCC_VERSION_4_3_3_CS |
| 47 | default y if GCC_VERSION_4_3_4 |
| 48 | |
| 49 | config GCC_VERSION_4_4 |
| 50 | bool |
| 51 | default y if GCC_VERSION_4_4_1 |
| 52 | default y if GCC_VERSION_4_4_1_CS |
| 53 | default y if GCC_VERSION_4_4_2 |
| 54 | default y if GCC_VERSION_4_4_3 |
| 55 | default y if GCC_VERSION_4_4_3_CS |
| 56 | |
| 57 | endif |
| 58 | |
| 59 | if !TOOLCHAINOPTS |
| 60 | config GCC_VERSION_3_4_6 |
| 61 | default y if LINUX_2_4 |
| 62 | |
| 63 | if !LINUX_2_4 |
| 64 | config GCC_VERSION_4_2_4 |
| 65 | default y if avr32 |
| 66 | |
| 67 | config GCC_VERSION_4_3_3 |
| 68 | default y if powerpc64 |
| 69 | default y if TARGET_etrax |
| 70 | default y if TARGET_coldfire |
| 71 | |
| 72 | config GCC_VERSION_4_3_4 |
| 73 | default y if TARGET_gemini |
| 74 | |
| 75 | config GCC_VERSION_4_3_3_CS |
| 76 | default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte) |
| 77 | default y if (arm || armeb) && !TARGET_gemini |
| 78 | |
| 79 | config GCC_VERSION_4_4_1 |
| 80 | default y if ubicom32 |
| 81 | |
| 82 | config GCC_VERSION_4_4_3 |
| 83 | default y if powerpc |
| 84 | default y if (TARGET_octeon || TARGET_sibyte) |
| 85 | |
| 86 | endif |
| 87 | endif |
| 88 | |