gcc: backport libgcc_pic changes to older gcc4 versions, install the libgcc map file...
[openwrt-10.03/.git] / toolchain / gcc / Config.version
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.0"     if GCC_VERSION_4_4_0
10         default "4.4.1"     if GCC_VERSION_4_4_1
11         default "llvm"      if GCC_VERSION_LLVM
12         default "4.1.2"
13
14 config GCC_VERSION_3
15         bool
16         default y       if GCC_VERSION_3_4_6
17
18 config GCC_VERSION_3_4
19         bool
20         default y       if GCC_VERSION_3_4_6
21         
22 config GCC_VERSION_4
23         bool
24         default y       if GCC_VERSION_4_1
25         default y       if GCC_VERSION_4_2
26         default y       if GCC_VERSION_4_3
27         default y       if GCC_VERSION_4_4
28
29 config GCC_VERSION_4_1
30         bool
31         default y       if GCC_VERSION_4_1_2
32
33 config GCC_VERSION_4_2
34         bool
35         default y       if GCC_VERSION_4_2_4
36         default y       if GCC_VERSION_LLVM
37
38 config GCC_VERSION_4_3
39         bool
40         default y       if GCC_VERSION_4_3_3
41         default y       if GCC_VERSION_4_3_3_CS
42         default y       if GCC_VERSION_4_3_4
43
44 config GCC_VERSION_4_4
45         bool
46         default y       if GCC_VERSION_4_4_0
47         default y       if GCC_VERSION_4_4_1
48
49 if !TOOLCHAINOPTS
50         config GCC_VERSION_3_4_6
51                 default y if LINUX_2_4
52
53         config GCC_VERSION_4_2_4
54                 default y if TARGET_avr32
55                 default y if TARGET_ppc40x
56                 default y if TARGET_ppc44x
57
58         config GCC_VERSION_4_3_3
59                 default y if powerpc64
60                 default y if TARGET_etrax
61                 default y if TARGET_coldfire
62
63         config GCC_VERSION_4_4_0
64                 default y if ubicom32
65
66         config GCC_VERSION_4_4_1
67                 default y if TARGET_octeon
68 endif