Commit Graph

73 Commits

Author SHA1 Message Date
Peter Korsgaard
90c5d156f5 toolchain/gcc: ensure libraries are copied to target_dir for x86-64
x86-64 stores libgcc_s / libstdc++ / libgcj under lib64 instead of lib,
so make sure that directory is searched as well for libraries to copy
to target.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-02 09:41:09 +02:00
Angus Salkeld
bb1f42e442 gcc-4.3.3: add a patch to link with the math lib to get copysignal
Conditionally apply the following patch by Bernhard Reutner-Fischer which
solves a link error on powerpc (with softfloat or multilib) when using
a shared libgcc_s.

See: http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00237.html
http://www.nabble.com/PPC-won't-build-with-soft-float-td22772110.html

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-12 10:02:20 +02:00
Peter Korsgaard
a62ceefdd4 toolchain/gcc: fix java support
Not runtime tested, but now it atleast builds.
2009-04-27 14:07:36 +00:00
Peter Korsgaard
1f3eec6e8f toolchain/gcc: disable tls support
Fixes libstdc++ linking with gcc 4.4.x
2009-04-27 10:26:56 +00:00
Peter Korsgaard
3b712a3d89 toolchain/gcc: don't enable libssp support
It's broken anyway as we don't install libssp* into TARGET_DIR, and we
should use the SSP support in uClibc if we want stack protection.
2009-04-22 07:27:17 +00:00
Peter Korsgaard
766c774f28 toolchain/gcc: libstdcpp dependency was listed twice 2009-03-01 20:20:09 +00:00
Peter Korsgaard
16a5a68947 toolchain: revert r25193 (Change binary toolchain configuration)
As discussed on the list.
2009-02-04 13:42:40 +00:00
Ulf Samuelsson
59f084017e Change binary toolchain configuration, so
that the options become visible just below
the config, instead of at bottom of screen

Create a more useful default as toolchain path.

Allow generation of a script which sets up
paths to a binary toolchain generated by buildroot.
2009-01-31 20:49:59 +00:00
Peter Korsgaard
92bd25c9eb toolchain: fix up GNU_TARGET_NAME link and target_utils location
The GNU_TARGET_NAME symlink and target_utils location were not correctly
adjusted to match the move of the toolchain to $(STAGING_DIR)/usr,
creating dangling symlinks.
2009-01-30 13:34:42 +00:00
Peter Korsgaard
81ddf3d083 toolchain/gcc: remove unused gcc 3.x cruft from 4.x makefile (sysroot) 2009-01-30 13:34:35 +00:00
Peter Korsgaard
e87389229e toolchain/gcc: remove ancient (and unused) i386 softfloat patch 2009-01-29 19:24:31 +00:00
Peter Korsgaard
6071bb4e1a toolchain/gcc: remove unused GCC_ENABLE_CLOCALE
This variable was introduced in r17046 (add gfortran support,
2006-12-22) and wasn't used even there.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-29 19:13:53 +00:00
Peter Korsgaard
77662160bb toolchain/gcc: make version detection more robust
Thanks to Bernhard for noticing (and less so for causing the problem in
the first place :P)
2009-01-22 11:18:44 +00:00
Peter Korsgaard
79cdd94154 toolchain/gcc: fix target-gcc for 4.3.x
Includes are in include-fixed and GCC_LIB_SUBDIR needs to be set like for
the rest of 4.x
2009-01-22 10:04:30 +00:00
Peter Korsgaard
bc65432230 toolchain: introduce HOSTCC_VERSION and fix gcc-4.3.x build with old host CCs
gcc < 4.2.0 doesn't support -Wno-overlength-stings, but gcc-4.3.x configure
fails to detect that, breaking the build.

Work around it by detecting the host gcc version (and store in HOSTCC_VERSION)
and set the proper configure variables for gcc < 4.2.0.
2009-01-19 09:18:46 +00:00
Ulf Samuelsson
bdac3e337f Update broken AVR32 toolchain, and update configs for this, deprecate all but latest AVR32 toolchain 2009-01-16 22:39:05 +00:00
Peter Korsgaard
0ef35d5d5e toolchain/: convert to DOWNLOAD helper 2009-01-16 11:47:05 +00:00
Peter Korsgaard
7543f7dff4 toolhain/: confgure: respect quiet option 2008-10-26 09:14:02 +00:00
Hans-Christian Egtvedt
50b55c9006 gcc: make installation of shared libraries multi-project safe
This patch modifies the rule for installing the shared libraries into the
project_foo/.../autotools-stamps directory. This will make the installation of
GCC shared libraries be multi-project safe.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-02 15:02:38 +00:00
Hans-Christian Egtvedt
3fac2be724 gcc: make sure that /usr/lib exists on target before installing shared libs
On very lite systems the /usr/lib directory might not exist before libstdc++ is
installed. This patch makes sure the directory exists.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-02 14:32:07 +00:00
Ulf Samuelsson
126bb72fa0 Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch locations for prepatched toolchain to be under the toolchain directory 2008-07-04 08:39:35 +00:00
Peter Korsgaard
32ac555784 toolchain/gcc: use --disable-decimal-float for 4.3.x 2008-06-21 19:47:17 +00:00
Peter Korsgaard
e31844e307 toolchain/gcc: add 4.3.1
Based on Bernhards tree.
2008-06-19 19:06:04 +00:00
Peter Korsgaard
15d53f0d1b toolchain/gcc: use $(@D) 2008-06-18 15:46:48 +00:00
Peter Korsgaard
65b0f823b2 toolchain/gcc: use $(STRIP_STRIP_UNNEEDED) 2008-06-17 13:33:02 +00:00
Peter Korsgaard
e1c7bea59c toolchain/gcc-4.x: strip cross libgcc / libstdc++ 2008-06-17 13:28:37 +00:00
Peter Korsgaard
de87811186 toolchain/gcc: do not try to strip *-embedspu 2008-04-04 14:16:06 +00:00
Ivan Kuten
cb815ae003 Add support for GNU and kernel.org mirrors 2007-12-17 12:29:06 +00:00
Ivan Kuten
0062430ad5 revert 20646 rev (gcc-cc_links-fix.diff), it's broken for arm as mentioned in 1764 issue 2007-12-17 11:37:47 +00:00
Ivan Kuten
43cff997d7 fix gcc 3.x/4.x symlinks to cc 2007-12-13 12:09:56 +00:00
Ivan Kuten
74a374edb1 'make source' command working again for gcc 2007-10-20 18:09:53 +00:00
Ulf Samuelsson
8e650f6ec0 Allow library copy to fail 2007-10-12 21:01:41 +00:00
Ulf Samuelsson
d2b3ce5c1b Cannot copy shared c++ lib, if one has not been created 2007-10-12 12:30:14 +00:00
Ulf Samuelsson
06cd2634a2 Do not create directories, if they exist 2007-10-07 17:22:56 +00:00
Bernhard Reutner-Fischer
0c16c17f53 - start to think about GNU/hurd support.
Not yet functional. Help welcome
2007-10-05 11:06:56 +00:00
Bernhard Reutner-Fischer
1672e71f17 - remove misplaced comment 2007-10-01 21:06:50 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
4ad141c338 - pass configure args for the -target compiler 2007-10-01 12:57:36 +00:00
Bernhard Reutner-Fischer
61558a5773 - add additional EXTRA_GCC_CONFIG_OPTIONS for initial, cross and target compiler 2007-10-01 12:56:24 +00:00
Bernhard Reutner-Fischer
4b0d5a80f8 - revert some bad checkins, fixup bad settings in atmel targets and move the gcc target abi back to a place where the other arch-specific settings live 2007-09-26 21:12:38 +00:00
Ulf Samuelsson
01426334b4 reinstate AVR32 toolchain 2007-09-26 05:36:11 +00:00
Bernhard Reutner-Fischer
d8fc1c0a74 - remove one invariant in toolchain type selection. 2007-09-25 08:18:36 +00:00
Bernhard Reutner-Fischer
373e0727ba - rebuild compiler if libstdcpp setting was changed 2007-09-23 21:23:10 +00:00
Bernhard Reutner-Fischer
4909da4156 - rename the gcc base_target to the more appropriate term cross_compiler 2007-09-22 21:38:15 +00:00
Bernhard Reutner-Fischer
7935c98db1 - don't strip the host binaries for now 2007-09-19 18:46:45 +00:00
Bernhard Reutner-Fischer
e4c6340a94 - cleanup and fixes (Cristian Ionescu-Idbohrn) 2007-09-17 12:30:31 +00:00
Bernhard Reutner-Fischer
367200b754 - correctly filter out the script 2007-09-04 07:35:19 +00:00
Ulf Samuelsson
e5409f4423 Cleanup handling of gccbug script 2007-09-03 06:26:06 +00:00
Ulf Samuelsson
82d52e8d84 Cleanup handling of gccbug script 2007-09-03 06:10:01 +00:00
Bernhard Reutner-Fischer
777a28a85d - add sequence-point for toplevel parallel builds: uClibc needs an initial gcc 2007-09-01 18:46:46 +00:00