Commit Graph

257 Commits

Author SHA1 Message Date
Manfred Rudigier
8f76d130c7 Added gcc 4.8.4.
Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
2015-01-09 14:11:19 +01:00
Bryan Hundven
8ad1b492d3 gcc: The latest 'released' linaro 4.8 is 2014.04, not 08
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-08 23:55:09 -08:00
Bryan Hundven
6bc5ff9ce8 gcc: Update linaro 4.7 and 4.8 (Attempt 2)
I messed up the previous commit.
I only updated half the config file, and the latest 4.8 is 2014.08.

🤦

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-08 23:00:38 -08:00
Bryan Hundven
055abbbb57 gcc: Update linaro 4.7 and 4.8
Update 4.7 to linaro-4.7-2014.06
Update 4.8 to linaro-4.8-2014.04

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-08 22:56:29 -08:00
Daniel Zimmermann
c7d9c37447 cc/gcc: add gcc 4.9.2
added the latest gcc 4.9.2

Signed-off-by: Daniel Zimmermann <netzimme@gmail.com>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-04 23:31:47 -08:00
Bryan Hundven
e5d2c356cc config/gcc: Disable CC_GCC_LIBSANITIZER for musl-libc
Disable libsanitizer for musl-libc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-09-11 23:16:38 +02:00
Yann E. MORIN
a56df802eb cc/gcc: add option to enable/disable libsanitizer
libsaniotizer requires a few headers that are not in uClibc, for
example. Also, it is only available for native threads (NPTL under
glibc.) Finally, it is only available starting with gcc-4.8.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-08-31 18:54:13 +02:00
Cody P Schafer
d0c8506e67 cc/gcc: add 4.9.1
Signed-off-by: Cody P Schafer <dev@codyps.com>
2014-07-19 12:18:21 +02:00
Anton Leontiev
518d1dfc6e cc/gcc: Add 4.7.4 and 4.8.3
Signed-off-by: Anton Leontiev <aleontiev@elvees.com>
2014-07-03 23:05:17 +02:00
Cody P Schafer
f941e1bad5 cc/gcc: add 4.9.0
Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: latest is now a 4.9]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <5bac788539bb272893ed.1399801933@gun>
Patchwork-Id: 347774
2014-05-11 23:31:54 +02:00
Cody Schafer
db2872f2ac cc/gcc: allow CC_EXTRA_CONFIG_ARRAY on baremetal
The final bare-metal compiler is built using the core backend.
Currently the core uses the CC_CORE_EXTRA_CONFIG_ARRAY variable.

While this works as supposed to, this can leave the user puzzled
in the menuconfig, since all he can see is the core options, not
the final options.

Only show the core options if any of the core passes are needed,
and use the final options in the core-backend if we're issuing
the bare-metal compiler.

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: hide core options if no core pass needed;
 use final option in core backend if issuing the bare-metal compiler]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <22181e546ba746202489.1399688067@localhost>
Patchwork-Id: 347586
2014-05-09 19:13:49 -07:00
danielrubiob
c214367d3a cc/gcc: update linaro GCC 4.7 & 4.8 to version 2014.01
Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
Message-Id: <08addb73e684d5e36f22.1391984020@uemo>
Patchwork-Id: 318634
2014-02-09 22:21:15 +01:00
Yann E. MORIN"
2ee8d1d8f2 cc/gcc: add option to enable/disable decimal floats
Decimal floats need support form the C library, namely support
for fenv, which is missing in uClibc for any architecture but
x86/32.

Add an option (a choice) to enable or disable decimal floats.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-01-04 16:17:40 +01:00
Yann E. MORIN"
b57ff09131 cc/gcc: bump Linaro versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-01-05 19:44:45 +01:00
Yann E. MORIN"
24953be31a cc/gcc: add 4.8.2
Signed-off-by: Richard Weinberger <richard@nod.at>
Message-Id: <4620980ca8475c89a71f.1383921709@azrael>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-11-08 15:24:20 +01:00
Yann E. MORIN"
cf36828878 cc/gcc: Add support for golang
Signed-off-by: Richard Weinberger <richard@nod.at>
Message-Id: <ca374aef944e28a6ec3c.1383921708@azrael>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-11-08 15:18:09 +01:00
Yann E. MORIN"
cc42262a26 cc/gcc: fix companion libs selection
Cset #15eedf548d33 (cc/gcc: add preliminray support for 4.8) left a
lingering 'select CLOOG_NEEDED', which should have been removed.

Fix that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-09-30 00:21:36 +02:00
Yann E. MORIN"
5b5a1ade7f cc/gcc: add 4.8.1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-07-29 00:06:35 +02:00
Michael Hope
eebffdfa9a cc/gcc: update Linaro GCC revisions for 2013.06
Update Linaro GCC with the latest available revisions.

Also updates Linaro GCC 4.6 to the final version.

Signed-off-by: "Michael Hope" <michaelh@juju.net.nz>
Message-Id: <83e33862f7641c2ad326.1372451435@localhost>
Patchwork-Id: 255666
2013-06-28 22:23:54 +02:00
Yann E. MORIN"
bef9074cf0 cc/gcc: add 4.8.0 and linaro-4.8
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-05 18:01:47 +02:00
Yann E. MORIN"
1dc3dd9167 cc/gcc: add preliminray support for 4.8
This means:
  - introduce the new symbols for 4.8
  - do not always select PPL if graphite is selected

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add gcc-4.8 support,
 which this patch is inspired from]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-05 17:59:00 +02:00
Yann E. MORIN"
14a96ce5a1 cc/gcc: reorder version strings
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-05 18:00:16 +02:00
Yann E. MORIN"
e010ee5742 cc/gcc: add 4.7.3 and 4.6.4 bug-fixes releases
Bring the appropriate patches along, too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-03 15:36:11 +00:00
Benoît Thébaudeau"
e8023f01d0 cc/gcc: update Linaro GCC revisions to 2013.04
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <ac1b52916838e470ff4d.1365686289@advdt005-ubuntu>
Patchwork-Id: 235740
2013-04-11 15:12:10 +02:00
Benoît Thébaudeau"
76cc258d65 cc/gcc: update Linaro GCC revisions to 2013.03
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <702c72b9ddddd4ff1120.1363294492@advdt005-ubuntu>
Patchwork-Id: 227794
2013-03-14 21:52:31 +01:00
Benoît Thébaudeau"
74e3c9793e cc/gcc: update Linaro GCC revisions to 2013.02
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <b738c9546f6752842e2d.1360940239@advdt005-ubuntu>
Patchwork-Id: 220755
2013-02-15 15:56:25 +01:00
Yann E. MORIN"
0571b39a81 cc/gcc: remove 'sub-level' version form symbols
Now we use defconfig files to store the samples, we have to be a bit more
conservatives in the symbols names, so as to avoid gigantic version bumps
when updating sub-level versions from a package.

For example (using fictitious versions):
  - in crosstool-NG 1.17.0, we choose:
    - latest gcc is gcc-linaro-4.7-2012.10, which is the default for the
      choice in the menuconfig
    - gcc-linaro-4.6-2012.10 is selected
    - so, sample has an explicit symbol for the selected gcc version, as it
      is not the default
  - we update to crosstool-NG 1.18.0:
    - latest gcc version is gcc-linaro-4.7-2013.01
    - gcc-linaro-46 has been updated to gcc-linaro-4.6-2013.01
    - as the sample now has no *valid* symbol to set the gcc version, the
      default is used, while we would have expected to still use the 4.6
      release from linaro, not the 4.7

Get rid of sub-level (ie. the third digit sequence in versions) from the
symbols for linaro versions.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-24 22:21:19 +01:00
Benoît Thébaudeau"
57e1ebc98e cc/gcc: update Linaro GCC revisions to 2013.01
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <539b6c34453a74c17759.1358517007@advdt005-ubuntu>
Patchwork-Id: 213611
2013-01-18 14:47:44 +01:00
Yann E. MORIN"
db5b6a4915 all: unmark experimental features
It's been some time now we've had those features, so unmark them
being experimental.

It does not mean everything is perfect, but may gather some more
testing of those features.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 20:05:19 +01:00
Yann E. MORIN"
e8e7eca3c6 all: unmark experimental version
It's been a while we've had those versions, time to unmark them being
experimental. It does not mean everything is perfect, but may gather
some more testing on those versions.

Update samples accordingly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 19:54:12 +01:00
Yann E. MORIN"
652906ac5f all: remove versions marked obsolete
For major components, keep the latest version of each major releases.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 11:53:05 +01:00
Benoît Thébaudeau"
14681be70d cc/gcc: update Linaro GCC revisions to 2012.12
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <acf52a6302c475ff850e.1355760853@advdt005-ubuntu>
Patchwork-Id: 206905
2012-12-17 17:13:27 +01:00
Benoît Thébaudeau"
9f0e9ebc73 cc/gcc: update Linaro GCC revisions to 2012.11
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <8e49233e63d9d6051dc2.1353008548@advdt005-ubuntu>
Patchwork-Id: 199390
2012-11-15 20:41:32 +01:00
Yann E. MORIN"
8bcd5c689c cc/gcc: remove svn source
Since we now have the opportunity to use a custom local directory/tarball
as the source for gcc, it no longer makes sense to retrieve gcc ourselves
from its subversion repository.

Cc: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-10-30 00:30:47 +01:00
David Holsgrove
6b8740dd6d cc/gcc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: don't patch custom directory location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <f2272ac0f37cedd0bb91.1349931194@localhost.localdomain>
PatchWork-Id: 190787
2012-10-11 14:39:41 +10:00
Benoît Thébaudeau"
86cdd52367 cc/gcc: update Linaro GCC revisions to 2012.10
cc/gcc: update Linaro GCC revisions to 2012.10

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <b482331ff863a5fc3507.1349963865@advdt005-ubuntu>
PatchWork-Id: 190914
2012-10-11 15:55:15 +02:00
Florian Fainelli
6eefc4b665 cc/gcc: add gcc 4.7.2
cc/gcc: add gcc 4.7.2

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Message-ID: <5869423.KezhlrYYmc@flexo>
PatchWork-ID: 185750
2012-09-21 16:38:18 +02:00
Benoît Thébaudeau"
32e18f7f9b cc/gcc: update Linaro GCC revisions to 2012.09
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <cd97309e8b617d7d729e.1348236736@advdt005-ubuntu>
PatchWork-ID: 185741
2012-09-21 16:10:34 +02:00
Yann E. MORIN"
8c43cdb436 cc/gcc: Add the ability to build gcc from svn
I took some of the svn functionality from eglibc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: fix the conditional test in build script]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-08-22 12:26:10 -07:00
Benoît Thébaudeau"
efaa05a345 cc/gcc: update Linaro GCC revisions to 2012.08
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <6b26606413410c987746.1345486888@advdt005-ubuntu>
2012-08-20 20:20:26 +02:00
Benoît Thébaudeau"
220132a2f2 cc/gcc: update Linaro GCC revisions to 2012.07
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <e1da9700b5ce493eeb94.1342125564@advdt005-ubuntu>
2012-07-12 22:38:10 +02:00
Bryan Hundven
ed0d0a8d14 cc/gcc: Update gcc to 4.7.1 (v2)
Attempt #2 at updating gcc.
This time without porting gcc 4.7.0 patches forward.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <aeffa57986d52dd7b0a8.1341290304@flambe.is-a-geek.org>
2012-07-02 21:36:33 -07:00
Benoît Thébaudeau"
bdd84b1646 cc/gcc: update Linaro GCC revisions to 2012.06
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-06-14 22:55:50 +02:00
Benoît Thébaudeau"
b4baa70696 cc/gcc: update Linaro GCC revisions to 2012.05
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-05-17 17:54:49 +02:00
Yann E. MORIN"
27e8b280f9 cc/gcc: add option to enable/disable libquadmath
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-06 15:32:56 +02:00
Yann E. MORIN"
b8425e99b9 cc/gcc: gcc 4.6+ has libquadmath
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-07 00:11:46 +02:00
Benoît Thébaudeau"
15e1e16241 cc/gcc: add Linaro GCC 4.7
Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-04-30 17:58:46 +02:00
Yann E. MORIN"
0e34828793 cc/gcc: 4.7 can request the linker's hash-style
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-04-30 17:24:58 +02:00
Yann E. MORIN"
ffccd1532a cc/gcc: remove experimental for some versions
Remove EXPERIMENTAL for the 4.5 and 4.6 series.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-04-30 17:20:53 +02:00
Yann E. MORIN"
642e99ca4f cc/gc: add update 4.4.7
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: propagate patchset from 4.4.6]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-03-23 01:36:42 -07:00
Yann E. MORIN"
3629b6d931 cc/gcc: add gcc-4.7.0
Add the new release gcc-4.7.0.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: add 4.7.0 patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-03-23 01:36:42 -07:00
Benoît Thébaudeau"
5b9731e108 cc/gcc: update Linaro GCC revisions to 2012.04
Update Linaro GCC with the latest available revisions.

The 4.7 revision is also released, but the infrastructure is not yet ready for
it in CT-NG.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-04-16 15:25:36 +02:00
Benoît Thébaudeau"
635513a7e1 cc/gcc: update Linaro GCC revisions to 2012.03
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-03-15 13:13:31 +01:00
Bryan Hundven
f2444f0b9d Add updated gcc 4.6.3
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2012-03-01 15:20:09 -08:00
Benoît Thébaudeau"
f304afc3d3 cc/gcc: update Linaro GCC revisions to 2012.02
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-02-09 13:09:08 +01:00
Benoît Thébaudeau"
b03575409e cc/gcc: update Linaro GCC revisions to 2012.01
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-01-13 12:24:55 +01:00
Yann E. MORIN"
92744ca68f cc/gcc: add option to use system zlib
In some cases, it might be desirable to use the system zlib

Eg. because latest gcc seem to be totally borked when it comes
to multilib, and tries to build a multilib host zlib, when it
is *absolutely* *not* needed: we want mulitlib on the target,
not on the host! Sigh... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-12-31 16:23:27 +01:00
Benoît Thébaudeau"
e1a03c1e53 cc/gcc: update Linaro GCC revisions to 2011.12
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2011-12-12 13:25:11 +01:00
Benoît Thébaudeau"
c0b275a3bf cc/gcc: update Linaro GCC revisions to 2011.11
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2011-11-14 13:29:12 +01:00
Bryan Hundven
a05793f11e cc/gcc: Add gcc-4.6.2
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2011-10-26 14:25:13 -07:00
Benoît THÉBAUDEAU"
86336a83ec cc/gcc: update Linaro GCC revisions to 2011.10
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-10-13 19:11:25 +02:00
Yann E. MORIN"
e2b9a81da3 scripts: check host features with host compiler
Currently, we check host feature in ./configure. This works only for
cross toolchains, but not for canadian toolchains. ./configure has
absolutely no way to know what the host for the toolchain will be;
only the build scripts know.

So, move the headers & libraries checks from ./configure to the build
scripts, early enough in the build, but not before we know the host
compiler and other tools.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-14 22:44:24 +02:00
Yann E. MORIN"
03702b77b5 cc/gcc: update to the Linaro 2011.09
Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: split gcc/gdb in two patches]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-28 15:28:23 +13:00
Benoît THÉBAUDEAU"
d0529b3d12 cc/gcc: update Linaro GCC revisions
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-08-18 15:34:17 +02:00
Yann E. MORIN"
9be30ce778 cc/gcc: fortran requires GMP and MPFR
Even if gcc itself does not require GMP or MPFR (eg. gcc-4.2 and before
don't), building the fortran frontend always required those companion
libraries.

Select them if the Fortran language is selected.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-31 22:19:21 +02:00
Benoît THÉBAUDEAU"
4c21311b3c cc/gcc: bump Linaro GCC revisions to 2011.07
This patch bumps the Linaro GCC revisions to 2011.07 when applicable.
Note that the `-0' suffix has been removed from the Linaro versioning scheme
beginning with this version.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-07-28 21:55:20 +02:00
Yann E. MORIN"
74a50972fb configure: disable static linking on Darwin
Static liunking is not supported on Darwin, so hide the corresponding
options when the build machine is Darwin.

Reported-by: Andrea Franceschini <therealmorpheu5@gmail.com>
Reported-by: Bryan Hundven <bryanhundven@gmail.com>
Reported-by: "Titus von Boxberg" <titus@v9g.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-27 21:03:40 +02:00
Yann E. MORIN"
d2d948a4ad cc/gcc: add MIPS spercific configure options
Add the following MIPS specific options when configuring gcc:
  --with(out)-llsc
  --with(out)-synci
  --with(out)-mips-plt
  --with-divide=type

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-27 18:04:50 +02:00
Yann E. MORIN"
71d5c495e9 cc/gcc: add option for linker hash style
Add an option to specify the hash type that gcc will ask the linker to use.
It is a provision for the upcoming 4.7, as no version currently supports it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-27 15:15:00 +02:00
Yann E. MORIN"
9c8bde853c cc/gcc: add build-id option
Add an option to configure gcc with --enable-linker-build-id.

Reported-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-27 13:52:15 +02:00
Bryan Hundven
0543d6006e cc/gcc: Update gcc versions
Add gcc 4.6.1, 4.3.6, and 4.5.3.
Move 4.4.6 version string so that it is in order.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2011-06-27 12:40:23 -07:00
Benoît THÉBAUDEAU"
cdc58e9f3d cc/gcc: bump Linaro GCC revisions to 2011.06-0
This patch bumps the Linaro GCC revisions to 2011.06-0 when applicable.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-06-16 21:10:12 +02:00
Yann E. MORIN"
08ebd6ec3d cc/gcc: CC_STATIC_LIBSTDCXX 'depends on' CONFIGURE_has_static_libstdcpp
Hide the staticaly linked libstdc++ option if the static libstdc++ is not
present, detected at configure time.

Add a blind option that says whether static linking is possible at all.
It defaults to 'y', but depends on the needed CONFIGURE_* options. For
now, it only depends on static libtdc++, but new dependencies can be
easily added.

Hide the global static toolchain option behind this new option.

Original patch by Bryan Hundven <bryanhundven@gmail.com>

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-02 19:50:12 +02:00
Benoît THÉBAUDEAU"
35fe8a047d gcc: promote PKGVERSION and BUGURL options to toolchain level
This patch promotes the PKGVERSION and BUGURL options to toolchain level so that
all toolchain components supporting them can benefit from them.

These options are passed to configure through --with-pkgversion and
--with-bugurl.

They are supported by binutils 2.18+, gcc 4.3+, eglibc 2.9+ and gdb 7.0+.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-05-31 20:12:35 +02:00
Benoît THÉBAUDEAU"
b87fff5473 gcc: add a CC_GCC_HAS_PKGVERSION_BUGURL option
This patch adds a blind option CC_GCC_HAS_PKGVERSION_BUGURL to test the support
of --with-pkgversion and --with-bugurl by GCC's configure.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-05-31 19:55:59 +02:00
Benoît THÉBAUDEAU"
96245813d8 kconfig: remove useless 'default n'
kconfig bools are disabled by default, so specifying 'default n' is useless and
noisy. This patch removes all occurrences of 'default n'.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-05-31 16:27:39 +02:00
Benoît THÉBAUDEAU"
d47003fda1 cc/gcc: bump Linaro revisions to 2011.05-0
This patch bumps the Linaro GCC revisions to 2011.05-0 when applicable.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-05-25 21:19:09 +02:00
Yann E. MORIN"
bdefc7b1e7 config: document array-capable variables
Update help entries for thos variables that accept multiple
arguments with spaces (aka. array-capable variables).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-18 23:42:57 +02:00
Yann E. MORIN"
c4bb88466e config: rename variables that are arrays
Make it explicit that a variable is an array bu the name of the variable.
It will be used later when .config gets munged to allow both multiple
arguments and arguments with spaces at the same time to be passed from the
configuration down to the build scripts.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-18 23:00:46 +02:00
Yann E. MORIN"
53892de14c config: fix recursive deps
The latest kconfig stuff is more stringent when it comes to validating
the dependency of the symbols. It is no longer possible to have a symbol
depend on itself (such as our construct for arch/cc/libc/... was doing).

Fix our generated-file infrastructure to avoid these situations when the
new kconfig stuff will be merged (in a following changeset).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-08 19:02:44 +02:00
Yann E. MORIN"
aad5659eb0 cc/gcc: fix complibs dependency
Since the gcc configuration changes, the way to select the
dependent companion libraries has changed. The addToolVersion
script was not updated to match, and a new gcc version was
added with this script.

Fix the gcc version; the script will be updated in a subsequent
changeset.

Reported-by: Xun Li <lxfind@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-08 10:52:21 +02:00
Yann E. MORIN"
8d769a27a9 cc/gcc: add latest Linaro versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-28 00:18:18 +02:00
Yann E. MORIN"
c1a758793d cc/gcc: suffle options around
Move options around so it feels more organised.
Add comments to separate groups of related options.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-27 22:41:17 +02:00
Yann E. MORIN"
14c5bc9260 cc/gcc: add latest version
Propagate the gcc-4.4.5 patchset to the newly added gcc-4.4.6.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-16 22:01:35 +02:00
Yann E. MORIN"
99d7ec8a84 cc/gcc: hide Linaro options by default
It can be quite confusing for a new-comer to find strange
version numbers for gcc, so hide the Linaro versions by
default.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-03-26 22:04:22 +01:00
Yann E. MORIN"
90697aa498 cc/gcc: add linaro 4.6 pre-release
Before gcc 4.6 was released, Linaro has a pre-release available.
Include that version in the config list.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-03-28 01:06:53 +02:00
Yann E. MORIN"
14a3369bdf cc/gcc: add 4.6.0
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-03-26 22:00:05 +01:00
Yann E. MORIN"
ad7ebf3219 cc/gcc: prepare for upcoming 4.6
gcc 4.6 will no longer depend on libelf.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-03-19 16:01:40 +01:00
Yann E. MORIN"
67d96ea16f cc/gcc: cleanup the _or_later logic
So far, we've had a version always select appropriate _or_later option,
which in turn would select all previous _or_later options.

Because the dependencies on companion libs were cumulative, that was
working OK. But the upcoming 4.6 will no longer depend on libelf, so
we can't keep the cumulative scheme we've been using so far.

Have each release family select the corresponding dependencies, instead
of relying on selecting previous _or_later.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-03-28 01:05:18 +02:00
Yann E. MORIN"
05851ca0d9 cc/gcc: update linaro versions
Linaro has released version linaro-4.5-2011.03-0.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-03-28 01:04:17 +02:00
Yann E. MORIN"
0841e2f820 cc/gcc: do not build plugins for static toolchains
Plugins are shared objects, and when building a toolchain statically,
the gcc build system breaks havok (although there is no hard technical
reasons it should not be possible)...

And consequently, do not enable plugin supoprt in binutils.

Reported-by: Thomas Spurden <thomas@ado.is-a-geek.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-02-22 23:27:42 +01:00
Yann E. MORIN"
83a004e2c4 cc/gcc: add versions from Linaro
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-02-17 22:29:33 +01:00
Yann E. MORIN"
adbf0ff180 cc/gcc: enable plugins if needed
Enabling plugins in binutils is not enough, and gcc also
needs to be ./configured with --enable-plugins, although
this is not documented anywhere... :-/

Reported-by: karthik duraisami <kdconstant@hotmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-28 18:53:37 +01:00
Bryan Hundven
a98df486c2 cc/gcc: Add gcc 4.5.2
Add gcc 4.5.2.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2010-12-29 02:00:21 +01:00
Bryan Hundven"
118a6a5f98 cc/gcc: build final gcc statically
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-12-09 18:55:42 +01:00
Yann E. MORIN"
d34501d3c7 cc/gcc: add 4.4.5
Add 4.4.5, propagate patchset from 4.4.4.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-09 23:28:39 +02:00
Yann E. MORIN"
b17f8707c1 cc/gcc: add an option to enable/disable build of libssp
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-09 11:38:04 +02:00
Yann E. MORIN"
8922def6b4 cc/gcc: add an option to enable/disable build of libgomp
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-08 23:58:58 +02:00
Yann E. MORIN"
d9b9c3fa39 cc/gcc: shuffle config knobs
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-08 23:53:41 +02:00
Yann E. MORIN"
416eb29198 cc/gcc: add option to enable 128-bit long doubles
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-09 22:49:28 +02:00
Yann E. MORIN"
b524645517 complibs: introduce a two-stage select
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-10-03 23:11:27 +02:00
Yann E. MORIN"
a6552be181 cc/gcc: add 4.3.5
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-19 18:37:18 +02:00
Yann E. MORIN"
d34a5ec7d8 cc/gcc: do not force use of non-vital companion libraries
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-09-12 20:54:54 +02:00
Arnaud Lacombe
2bd1bc5621 cc/gcc: 4.5.1 is out!
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
2010-08-01 03:56:43 +02:00
Yann E. MORIN"
06c9a37016 cc/gcc: do not show sjlj choice for bare-metal
In the conversion from choic to tristate, this got lost.
2010-07-30 23:41:19 +02:00
Johannes Stezenbach
143f02e0ce cc/gcc: add option to compile against static libstdc++, for gcc-4.4 and newer
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-29 19:47:16 +02:00
Yann E. MORIN"
8bb436dad1 cc/gcc: add option to enable/disable libmudflap
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-28 23:55:10 +02:00
Yann E. MORIN"
61ebaa97ca cc/gcc: make sjlj config option a tristate
A tristate fits better here than a choice.
2010-07-28 23:53:09 +02:00
Yann E. MORIN"
e5f3082b3d cc/gcc: move options around 2010-07-28 21:28:54 +02:00
Yann E. MORIN"
4144845579 cc/gcc: gcc-4.4 does not use MPC
As reported by Johannes Stezenbach, see thread at:
  http://sourceware.org/ml/crossgcc/2010-07/msg00017.html
2010-07-10 15:25:10 +02:00
Yann E. MORIN"
8b8f2c17ba cc/gcc: add option do disable PCH
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-06-17 21:26:23 +02:00
Titus von Boxberg
d2d3c15c14 cc/gcc: Make usage of --enable-target-optspace configurable
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-24 16:34:55 +02:00
Yann E. MORIN"
cf395e3876 cc/gcc: add latest version
Add 4.4.4 and forward-port patchset from 4.4.3
2010-05-16 19:41:53 +02:00
Yann E. MORIN"
8116e283fa cc/gcc: add 4.5.0 2010-04-15 22:35:22 +02:00
Yann E. MORIN"
3c160b2205 cc/gcc: add support for 4.5.0 or later versions
starting with 4.5.0, gcc requires libelf.
2010-04-15 22:35:18 +02:00
Arnaud Lacombe
93042972a8 cc/gcc: fix thread-less final gcc build
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-04-07 18:35:22 +02:00
Yann E. MORIN"
8e47201cf2 cc/gcc: fix use of companion libraries 2010-03-05 18:55:25 +01:00
Yann E. MORIN"
3eaa187de5 complibs: split-up selection for individual libs 2010-02-17 23:47:47 +01:00
Yann E. MORIN"
933404b449 cc/gcc: simplify the _or_later stuff 2010-02-04 15:18:46 +01:00
Yann E. MORIN"
38dbb38701 cc/gcc: remove 4.3.0
gcc-4.3.0 never got !EXPERIMENTAL, and no one either confirmed nor complained.
2010-01-31 12:43:49 +01:00
Yann E. MORIN"
51965ce920 cc/gcc: remove EXPERIMENTAL for gcc-4.4 2010-01-31 12:22:54 +01:00
Yann E. MORIN"
3bd33664df cc/gcc: add latest 4.4.3, propagate patchset from 4.4.2 2010-01-24 22:53:51 +01:00
Yann E. MORIN"
0b6a9e5c74 config: mark now old versions as being OBSOLETE
These versions are kept for the upcoming release, but they
will be removed from the next release if they are not used.
2009-10-28 19:15:50 +01:00
Yann E. MORIN"
1a6400b025 cc/gcc: add latest 4.4.2 version as EXPERIMENTAL 2009-10-20 23:41:11 +02:00
Yann E. MORIN"
4fb0c302e0 config: rip-out versions marked as OBSOLETE 2009-10-28 18:55:40 +01:00
Yann E. MORIN"
b6568d675b config: fix indentation for options marked EXPERIMENTAL or OBSOLETE
Change the 2-space separation into a 1-space separation, for the sake
of homogeneity.
2009-09-13 18:44:17 +02:00
Yann E. MORIN"
0c63755957 scripts: add new version at top of choice
Add new versions at the top of the choice menu, not at the bottom.
2009-09-13 18:38:06 +02:00
Yann E. MORIN"
caeb4ada23 config: re-order menu entries so that latest versions are at the top
It makes better sense to have latest versions at the top of the choice
entries.
2009-09-13 17:51:33 +02:00
Yann E. MORIN"
4de6139e7e Merge the bash_array branch.
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-19 19:52:04 +02:00
Yann E. MORIN"
83a48e12f0 Allow setting --enable-cxx-flags on gcc ./configure
Some setups require one to pass extra CXX flags at the time of ./configure.
Make it easy.
2009-08-19 19:44:45 +02:00
Yann E. MORIN"
13ae4ac9aa config/gcc: re-order versions
Move the gcc-4.3.4 version to its place.
2009-08-07 18:21:29 +02:00
Thomas Petazzoni
a4c72b8a1b gcc: add support for 4.3.4
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-06 18:17:01 +02:00
Yann E. MORIN"
200c8a2c91 [cc-gcc] Add latest versions
Add gcc-4.4.1
2009-08-02 23:33:38 +02:00
Yann E. MORIN"
637b137512 /devel/gcc-4.4:
- 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-27 21:16:01 +00:00
Yann E. MORIN"
1a92cef90f gcc-4.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-03 21:12:26 +00:00
Yann E. MORIN"
6752ebb01f Unmark gcc-4.3.3 as being EXPERIMENTAL.
-------- diffstat follows --------
 /trunk/config/cc/gcc.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2009-05-03 21:11:26 +00:00
Yann E. MORIN"
355586027b Add support for building toolchains with gcc-4.4 snapshots.
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-03-26 18:47:34 +00:00
Yann E. MORIN"
1843a3b45c Add the latest gcc-4.3.3 with the forward-ported patchset from gcc-4.3.2.
/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-27 21:37:03 +00:00
Yann E. MORIN"
0cd8441a97 Add the Eclipse Java Compiler to be able to compile Java.
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-06 22:10:17 +00:00
Yann E. MORIN"
f2d6a84135 Remove support for gcc-2.95.3, it has never ever been tested.
/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(-)
2009-01-04 14:38:41 +00:00
Yann E. MORIN"
5ae048e78b Generate the choice menu for C compilers, the same way arch, kernels and C 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-10-13 16:58:52 +00:00
Yann E. MORIN"
fc53c7be3e Remove gcc-4.3.2 dependency on EXPERIMENTAL.
/trunk/config/cc/gcc.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2008-09-28 18:09:23 +00:00
Yann E. MORIN"
664c2d0100 Add latest gcc-4.3.2 as EXPERIMENTAL, using the 4.3.1 re-based patchset.
/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(-)
2008-09-25 16:06:19 +00:00
Yann E. MORIN"
799672a641 Introduce a new EXPERIMENTAL feature: BARE_METAL.
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library.
Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal.
Move the compiler build script to its own sub-directory.
Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal.
Update the ARM target tuples to enable bare-metal targets.
Add two ARM bare-metal samples.
Add latest Linux kernel versions.

 /trunk/scripts/build/kernel/none.sh              |   77     6    71     0 +----
 /trunk/scripts/build/cc/gcc.sh                   |   58    41    17     0 ++-
 /trunk/scripts/build/libc/none.sh                |  513     9   504     0 +-----------------------------
 /trunk/scripts/crosstool.sh                      |   17     9     8     0 +
 /trunk/scripts/functions                         |    6     4     2     0 +
 /trunk/scripts/showSamples.sh                    |    6     3     3     0
 /trunk/samples/arm-unknown-elf/crosstool.config  |  225   225     0     0 +++++++++++++
 /trunk/samples/arm-unknown-eabi/crosstool.config |  223   223     0     0 +++++++++++++
 /trunk/config/kernel/linux_headers_install.in    |   64    27    37     0 ++--
 /trunk/config/kernel.in                          |    9     8     1     0 +
 /trunk/config/toolchain.in                       |    1     1     0     0 +
 /trunk/config/cc/gcc.in                          |    3     3     0     0 +
 /trunk/config/debug/dmalloc.in                   |    1     1     0     0 +
 /trunk/config/debug/gdb.in                       |    4     3     1     0 +
 /trunk/config/debug/strace.in                    |    1     1     0     0 +
 /trunk/config/debug/duma.in                      |    1     1     0     0 +
 /trunk/config/cc.in                              |    8     8     0     0 +
 /trunk/config/target.in                          |   13    13     0     0 +
 /trunk/config/binutils.in                        |    1     1     0     0 +
 /trunk/config/gmp_mpfr.in                        |    1     1     0     0 +
 /trunk/config/libc.in                            |   17    11     6     0 +
 /trunk/arch/arm/functions                        |    3     1     2     0 -
 22 files changed, 600 insertions(+), 652 deletions(-)
2008-09-14 16:21:07 +00:00
Yann E. MORIN"
57347d6ca0 gcc-4.3.1 is now longer EXPERIMENTAL (gcc-4.3.0 is still EXPERIMENTAL, because of lack of testing).
/trunk/config/cc/gcc.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2008-08-12 10:53:56 +00:00
Yann E. MORIN"
c1a2e1bb87 Add a new config knob for gcc: usage of SJLJ to handle exceptions.
This is needed for some architectures to compile the Java frontend (eg. ARM with uClibc).

 /trunk/config/cc/gcc.in        |   41    39     2     0 +++++++++++++++++++++++++++++++++++++++--
 /trunk/scripts/build/cc_gcc.sh |    8     5     3     0 +++++---
 2 files changed, 44 insertions(+), 5 deletions(-)
2008-08-07 13:55:30 +00:00
Yann E. MORIN"
907141d953 Add gcc-4.2.4, with patches propagated from 4.2.3.
/trunk/config/cc/gcc.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-07-19 12:17:26 +00:00
Yann E. MORIN"
15483af16b Completely move GMP and MPFR files out of the compiler way into their own directory.
/trunk/config/gmp_mpfr.in |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-06-30 11:58:58 +00:00
Yann E. MORIN"
1b00a301bd GMP and MPFR are no longer a sub-component of gcc (config-wise).
Build and install GMP and MPFR for the target.
Use the target GMP and MPFR to build the native gdb.
Have separate extra_config for cross gdb, native gdb and gdbserver.
Check native GMP and MPFR in //.

 /trunk/scripts/build/debug/300-gdb.sh |   27    19     8     0 ++++++++++++++++-------
 /trunk/scripts/build/gmp.sh           |   47    39     8     0 ++++++++++++++++++++++++++++++++-------
 /trunk/scripts/build/mpfr.sh          |   49    40     9     0 +++++++++++++++++++++++++++++++++--------
 /trunk/steps.mk                       |    2     2     0     0 ++
 /trunk/config/cc/gcc.in               |   18     1    17     0 +--------------
 /trunk/config/debug/gdb.in            |    6     1     5     0 +----
 /trunk/config/config.in               |    1     1     0     0 +
 /trunk/config/gmp_mpfr.in             |   34    34     0     0 ++++++++++++++++++++++++++++
 8 files changed, 137 insertions(+), 47 deletions(-)
2008-06-20 15:16:43 +00:00
Yann E. MORIN"
b237809704 gcc-4.2.3 works quite well on my targets, now.
/trunk/config/cc/gcc.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2008-06-09 16:40:28 +00:00