summaryrefslogtreecommitdiff
path: root/config/cc
AgeCommit message (Collapse)AuthorFilesLines
2010-12-29cc/gcc: Add gcc 4.5.2Bryan Hundven1-0/+7
Add gcc 4.5.2. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2010-12-09cc/gcc: build final gcc staticallyBryan Hundven"1-0/+3
If the global static option is set, then build the final gcc statically. Signed-off-by: "Bryan Hundven" <bryanhundven@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-09cc/gcc: add 4.4.5Yann E. MORIN"1-2/+7
Add 4.4.5, propagate patchset from 4.4.4. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-09cc/gcc: add an option to enable/disable build of libsspYann E. MORIN"1-0/+9
libssp is the run-time Stack-Smashing Protection library. It can be usefull to have or miss, depends... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-08cc/gcc: add an option to enable/disable build of libgompYann E. MORIN"1-0/+12
libgomp is the GNU implementation of the OpenMP API. It can be usefull to have or miss, depends... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-08cc/gcc: shuffle config knobsYann E. MORIN"1-14/+18
It makes sense to have all library-related config knobs in the same place; and it makes sense to have all other misc config knobs in the same other place. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-09cc/gcc: add option to enable 128-bit long doublesYann E. MORIN"1-0/+13
Needed by some PPC targets, at least. Requires gcc 4.2+ (noticed by Arnaud LACOMBE). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-03complibs: introduce a two-stage selectYann E. MORIN"1-6/+6
Directly select-ing the required companion libraries means we can not disable them. That's OK for now, as we systematically build them when they are required. But with distros coming up-to-speed, we will need to disable the build later-on. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-19cc/gcc: add 4.3.5Yann E. MORIN"1-0/+6
4.3.5 is the latest 4.3 version, and probably the last one. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12cc/gcc: do not force use of non-vital companion librariesYann E. MORIN"2-3/+43
While GMP and MPFR are required by gcc>=4.3 (to build the frontends), and MPC is required by gcc>=4.5, the other libs are not. If they are present then gcc will enable advanced features; if they are missing, then gcc will (should) simply disable those features. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-01cc/gcc: 4.5.1 is out!Arnaud Lacombe1-0/+7
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
2010-07-30cc/gcc: do not show sjlj choice for bare-metalYann E. MORIN"1-0/+1
In the conversion from choic to tristate, this got lost.
2010-07-29cc/gcc: add option to compile against static libstdc++, for gcc-4.4 and newerJohannes Stezenbach1-0/+12
Idea and know-how taken from CodeSourcery build script. Normal build: $ ldd arm-unknown-linux-uclibcgnueabi-gcc linux-gate.so.1 => (0xb77f3000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76e8000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb75a1000) libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb757a000) /lib/ld-linux.so.2 (0xb77f4000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb755c000) CC_STATIC_LIBSTDCXX=y: $ ldd arm-unknown-linux-uclibcgnueabi-gcc linux-gate.so.1 => (0xb7843000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb76e6000) /lib/ld-linux.so.2 (0xb7844000) I made CC_STATIC_LIBSTDCXX default=y since I think it is always desirable. Signed-off-by: Johannes Stezenbach <js@sig21.net>
2010-07-28cc/gcc: add option to enable/disable libmudflapYann E. MORIN"1-0/+14
For some scenarii, libmudflap is not very usefull or can break the build. Make in an optioon that defaults to 'N' to be on the safe side. For the core gcc-s, there is absolutely no need to build libmidflap. Idea from: Bernhard Pfund <bernhard@chapter7.ch>
2010-07-28cc/gcc: make sjlj config option a tristateYann E. MORIN"1-32/+16
A tristate fits better here than a choice.
2010-07-28cc/gcc: move options aroundYann E. MORIN"2-89/+87
2010-07-10cc/gcc: gcc-4.4 does not use MPCYann E. MORIN"1-5/+5
As reported by Johannes Stezenbach, see thread at: http://sourceware.org/ml/crossgcc/2010-07/msg00017.html
2010-06-17cc/gcc: add option do disable PCHYann E. MORIN"1-0/+12
In some cases, using Pre-Compiled Headers breaks the build. Ass an option to disable building the PCH, as suggested by: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974
2010-05-24cc/gcc: Make usage of --enable-target-optspace configurableTitus von Boxberg1-0/+9
Optionally configure to compile gcc-internal libs with -Os. yann.morin.1998@anciens.enib.fr: Rename the config options, it is in the GCC /namespace/.
2010-05-16cc/gcc: add latest versionYann E. MORIN"1-0/+7
Add 4.4.4 and forward-port patchset from 4.4.3
2010-04-15cc/gcc: add 4.5.0Yann E. MORIN"1-0/+7
2010-04-15cc/gcc: add support for 4.5.0 or later versionsYann E. MORIN"1-0/+13
starting with 4.5.0, gcc requires libelf.
2010-04-07cc/gcc: fix thread-less final gcc buildArnaud Lacombe1-0/+11
If threads are disabled in libc, we don't want to enable them in the final compiler. Doing so pass the configure stage, but fails latter on a missing <pthread.h>. Moreover, we don't want to build libgomp if threads are disabled; its configure script would fails anyway. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
2010-03-05cc/gcc: fix use of companion librariesYann E. MORIN"1-2/+12
2010-02-17complibs: split-up selection for individual libsYann E. MORIN"1-2/+5
2010-02-04cc/gcc: simplify the _or_later stuffYann E. MORIN"1-4/+1
2010-01-31cc/gcc: remove 4.3.0Yann E. MORIN"1-6/+0
gcc-4.3.0 never got !EXPERIMENTAL, and no one either confirmed nor complained.
2010-01-31cc/gcc: remove EXPERIMENTAL for gcc-4.4Yann E. MORIN"1-8/+4
2010-01-24cc/gcc: add latest 4.4.3, propagate patchset from 4.4.2Yann E. MORIN"1-0/+8
2009-10-28config: mark now old versions as being OBSOLETEYann E. MORIN"1-5/+10
These versions are kept for the upcoming release, but they will be removed from the next release if they are not used.
2009-10-20cc/gcc: add latest 4.4.2 version as EXPERIMENTALYann E. MORIN"1-0/+8
2009-10-28config: rip-out versions marked as OBSOLETEYann E. MORIN"1-48/+0
2009-09-13config: fix indentation for options marked EXPERIMENTAL or OBSOLETEYann E. MORIN"1-1/+1
Change the 2-space separation into a 1-space separation, for the sake of homogeneity.
2009-09-13scripts: add new version at top of choiceYann E. MORIN"1-4/+4
Add new versions at the top of the choice menu, not at the bottom.
2009-09-13config: re-order menu entries so that latest versions are at the topYann E. MORIN"1-87/+87
It makes better sense to have latest versions at the top of the choice entries.
2009-08-19Merge the bash_array branch.Yann E. MORIN"1-0/+11
For every components where it makes sense, use bash arrays (instead of a string with space-separated values) to store the options pased to ./configure.
2009-08-19Allow setting --enable-cxx-flags on gcc ./configureYann E. MORIN"1-0/+11
Some setups require one to pass extra CXX flags at the time of ./configure. Make it easy.
2009-08-07config/gcc: re-order versionsYann E. MORIN"1-6/+6
Move the gcc-4.3.4 version to its place.
2009-08-06gcc: add support for 4.3.4Thomas Petazzoni1-0/+6
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-02[cc-gcc] Add latest versionsYann E. MORIN"1-0/+8
Add gcc-4.4.1
2009-05-27/devel/gcc-4.4:Yann E. MORIN"1-0/+1
- add gcc-4.4.0 patches, vampirised from the Gentoo patchset - gcc-4.4.0 auto-selects and uses appropriate companion linraries -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/cc/gcc.sh | 20 18 2 0 + /devel/gcc-4.4/patches/gcc/4.4.0/280-freebsd.patch | 188 188 0 0 ++++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/140-default-format-security.patch | 98 98 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/290-freebsd.patch | 128 128 0 0 +++++++ /devel/gcc-4.4/patches/gcc/4.4.0/310-uclibc-conf.patch | 70 70 0 0 ++++ /devel/gcc-4.4/patches/gcc/4.4.0/240-libstdc++-pic.patch | 106 106 0 0 ++++++ /devel/gcc-4.4/patches/gcc/4.4.0/260-sh-libgcc-stacks.patch | 50 50 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/100-alpha-mieee-default.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/180-libgomp-no-werror.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/170-sparc64-bsd.patch | 58 58 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/200-libiberty.h-asprintf.patch | 30 30 0 0 ++ /devel/gcc-4.4/patches/gcc/4.4.0/220-libiberty-pic.patch | 22 22 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/110-trampolinewarn.patch | 54 54 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/160-netbsd-symbolic.patch | 22 22 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/190-flatten-switch-stmt-00.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/150-default-fortify-source.patch | 52 52 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/340-libmudflap-susv3-legacy.patch | 96 96 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/120-java-nomulti.patch | 92 92 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/270-sh-pr24836.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/330-c99-snprintf.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/230-superh-default-multilib.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/250-ia64-noteGNUstack.patch | 158 158 0 0 +++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/300-pr40105.patch | 360 360 0 0 ++++++++++++++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/210-arm-unbreak-armv4t.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/130-cross-compile.patch | 78 78 0 0 ++++ /devel/gcc-4.4/patches/gcc/4.4.0/320-missing-execinfo_h.patch | 24 24 0 0 + /devel/gcc-4.4/config/cc/gcc.in | 1 1 0 0 + 27 files changed, 1945 insertions(+), 2 deletions(-)
2009-05-03gcc-4.4:Yann E. MORIN"1-17/+4
- remove snapshots - add gcc-4.4.0 release as EXPERIMENTAL -------- diffstat follows -------- /trunk/config/cc/gcc.in | 21 4 17 0 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-)
2009-05-03Unmark gcc-4.3.3 as being EXPERIMENTAL.Yann E. MORIN"1-2/+1
-------- diffstat follows -------- /trunk/config/cc/gcc.in | 3 1 2 0 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
2009-03-26Add support for building toolchains with gcc-4.4 snapshots.Yann E. MORIN"1-5/+30
Initial patch by Dmitry PLOTNIKOV: http://sourceware.org/ml/crossgcc/2009-03/msg00053.html It [the toolchain] uses current ct-ng (nightly snapshot 20090324, latest release 1.3.2 work also), glibc 2.9 (from CVS), binutils 2.19 and latest snapshot of GCC 4.4.0 (as of March 20, 2009). We have successfully built linux kernel 2.6.29 and a lot of other stuff with this toolchain. Here's the patch that adds GCC 4.4.0 to the ct-ng menu and enables it to download a 4.4.0 snapshot from ftp. Patch was adpated by me, mostly to better fit the configuration layout. /trunk/scripts/build/cc/gcc.sh | 34 22 12 0 ++++++++++++++++++++++------------ /trunk/config/cc/gcc.in | 35 30 5 0 ++++++++++++++++++++++++++++++----- 2 files changed, 52 insertions(+), 17 deletions(-)
2009-01-27Add the latest gcc-4.3.3 with the forward-ported patchset from gcc-4.3.2.Yann E. MORIN"1-0/+7
/trunk/patches/gcc/4.3.3/210-noteGNUstack-00.patch | 47 26 21 0 ++++--- /trunk/patches/gcc/4.3.3/270-missing-execinfo_h.patch | 11 8 3 0 +- /trunk/patches/gcc/4.3.3/260-uclibc-conf-noupstream.patch | 13 9 4 0 +- /trunk/patches/gcc/4.3.3/220-noteGNUstack-01.patch | 97 51 46 0 +++++++------- /trunk/patches/gcc/4.3.3/240-pr25343.patch | 11 8 3 0 +- /trunk/patches/gcc/4.3.3/100-alpha-mieee-default.patch | 17 11 6 0 +- /trunk/patches/gcc/4.3.3/230-pr34571.patch | 23 8 15 0 +-- /trunk/patches/gcc/4.3.3/350-sh-without-headers.patch | 17 10 7 0 +- /trunk/patches/gcc/4.3.3/330-unwind-for-uClibc.patch | 19 12 7 0 ++- /trunk/patches/gcc/4.3.3/190-libstdc++-pic.patch | 17 11 6 0 +- /trunk/patches/gcc/4.3.3/150-sparc64-bsd.patch | 11 8 3 0 +- /trunk/patches/gcc/4.3.3/290-index_macro.patch | 17 11 6 0 +- /trunk/patches/gcc/4.3.3/140-netbsd-symbolic.patch | 11 8 3 0 +- /trunk/patches/gcc/4.3.3/110-trampolinewarn.patch | 17 11 6 0 +- /trunk/patches/gcc/4.3.3/160-flatten-switch-stmt-00.patch | 11 8 3 0 +- /trunk/patches/gcc/4.3.3/280-c99-complex-ugly-hack.patch | 11 8 3 0 +- /trunk/patches/gcc/4.3.3/300-libmudflap-susv3-legacy.patch | 11 8 3 0 +- /trunk/patches/gcc/4.3.3/170-libiberty-pic.patch | 11 8 3 0 +- /trunk/patches/gcc/4.3.3/250-sh-pr24836.patch | 17 11 6 0 +- /trunk/patches/gcc/4.3.3/120-java-nomulti.patch | 17 11 6 0 +- /trunk/patches/gcc/4.3.3/320-alpha-signal_h.patch | 14 10 4 0 +- /trunk/patches/gcc/4.3.3/180-superh-default-multilib.patch | 13 9 4 0 +- /trunk/patches/gcc/4.3.3/340-make-mno-spe-work-as-expected.patch | 41 23 18 0 +++--- /trunk/patches/gcc/4.3.3/200-pr24170.patch | 23 14 9 0 ++- /trunk/patches/gcc/4.3.3/310-arm-softfloat.patch | 17 11 6 0 +- /trunk/patches/gcc/4.3.3/130-cross-compile.patch | 23 14 9 0 ++- /trunk/config/cc/gcc.in | 7 7 0 0 + 27 files changed, 334 insertions(+), 210 deletions(-)
2009-01-06Add the Eclipse Java Compiler to be able to compile Java.Yann E. MORIN"1-0/+6
Andy JOHNSON wrote: The Java compiler for GCC versions 4.3.0 and up requires the Eclipse compiler "ecj1" to be built as well. I added "gcj" to the list of utilities to make the initial link. /trunk/scripts/build/cc/gcc.sh | 12 12 0 0 ++++++++++++ /trunk/scripts/crosstool.sh | 2 1 1 0 +- /trunk/config/cc/gcc.in | 6 6 0 0 ++++++ 3 files changed, 19 insertions(+), 1 deletion(-)
2009-01-04Remove support for gcc-2.95.3, it has never ever been tested.Yann E. MORIN"1-6/+0
/trunk/config/cc/gcc.in | 6 0 6 0 ------ /trunk/scripts/build/libc/glibc.sh | 4 0 4 0 ---- /trunk/scripts/build/libc/uClibc.sh | 4 0 4 0 ---- 3 files changed, 14 deletions(-)
2008-10-13Generate the choice menu for C compilers, the same way arch, kernels and C ↵Yann E. MORIN"1-0/+13
libraries are generated. /trunk/kconfig/kconfig.mk | 6 6 0 0 ++++++ /trunk/config/cc/gcc.in | 13 13 0 0 +++++++++++++ /trunk/config/cc.in | 31 3 28 0 +++---------------------------- 3 files changed, 22 insertions(+), 28 deletions(-)
2008-09-28Remove gcc-4.3.2 dependency on EXPERIMENTAL.Yann E. MORIN"1-2/+1
/trunk/config/cc/gcc.in | 3 1 2 0 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
2008-09-25Add latest gcc-4.3.2 as EXPERIMENTAL, using the 4.3.1 re-based patchset.Yann E. MORIN"1-0/+7
/trunk/config/cc/gcc.in | 7 7 0 0 ++ /trunk/patches/gcc/4.3.2/280-c99-complex-ugly-hack.patch | 8 4 4 0 +- /trunk/patches/gcc/4.3.2/250-sh-pr24836.patch | 16 8 8 0 ++-- /trunk/patches/gcc/4.3.2/340-make-mno-spe-work-as-expected.patch | 43 19 24 0 ++++++-------- /trunk/patches/gcc/4.3.2/130-cross-compile.patch | 20 10 10 0 +++--- 5 files changed, 48 insertions(+), 46 deletions(-)