Commit Graph

42 Commits

Author SHA1 Message Date
Konrad Eisele
c9f1651ea0 toolchain: Add support for --with-cpu
Add support for gcc configuration switch --with-cpu. Uses newly added
BR2_GCC_TARGET_CPU from the target config.

Signed-off-by: Konrad Eisele <konrad@gaisler.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-25 09:15:11 +01:00
Thomas Petazzoni
6d4a992e2b gcc: remove option on SJLJ exceptions
This is a very advanced option, and it seems, according to
http://choices.cs.uiuc.edu/exceptions.pdf that SJLJ exceptions aren't
really interesting.

Users really interested by this can always use the
BR2_EXTRA_GCC_CONFIG_OPTIONS is they want.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-28 17:38:31 +02:00
Thomas Petazzoni
460ba963ac toolchain: remove redundant and incorrect --with-build-time-tools option
This option is already part of the gcc configure options through the
BR2_CONFIGURE_BUILD_TOOLS variable (in toolchain/Makefile.in).

Additionnally, the value that was passed in the AVR32 specific case
was incorrect: it was $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin
instead of $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27 22:58:05 +02:00
Thomas Petazzoni
5e8e1cdb60 target-gcc: Get rid of TARGET_GCC_FLAGS
This variable is used only once, so let's just hardcode its value at
its call site.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27 18:22:44 +02:00
Peter Korsgaard
0ac8553664 toolchain/gcc: cleanup softfloat selection
We don't have a BR2_SOFT_FLOAT_FP option, and -mfloat-abi should also
be used for big endian ARM.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-09 09:20:58 +02:00
Peter Korsgaard
5fd095b374 toolchain: remove gcc 4.1.2 and non-sysroot support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-15 23:16:55 +02:00
Thomas Petazzoni
7a0263525f Remove BR2_PREFER_IMA
This option is barely used, no-one is maintaining it or extending
it. So let's remove it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 05:59:59 +02:00
Thomas Petazzoni
636afc4664 gcc: improve configuration for snapshot versions
Make the selection of a snapshot version a normal gcc version choice,
and make sure BR2_GCC_VERSION is properly defined.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:44 +01:00
Peter Korsgaard
acc75665e5 toolchain: get rid of unused gcc 3.x legacy handling
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-04 20:34:03 +01:00
Michael Roth
a4c6231cfc Remove some fragments left over from the 'qstrip' transition
Commit af2390c0f4 overlooked some
old comment fragments.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 12:38:24 +02:00
Thomas Petazzoni
af2390c0f4 toolchain: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:18 +02: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
0e14d4f7ff toolchain/: get rid of unneeded $(strip ..) 2008-12-08 08:15:42 +00:00
Peter Korsgaard
1243071b16 gcc: only use -mfloat-abi for ARM, use -msoft-float for other archs
Patch by Wade Berrier.
2008-08-22 13:59:06 +00:00
Peter Korsgaard
197ab1cef2 toolchain: also use arch/tune/abi options when softfloat is enabled
The ifeq/endif nesting was wrong, so arch/tune/abi options where only set in
the non-softfloat case.
2008-06-06 12:49:53 +00:00
Ivan Kuten
00f34a0cdc update gcc nios2 support, thanks atle 2007-11-09 09:57:25 +00:00
Ulf Samuelsson
3536c2f919 Ensure AVR32 FPU config is always correct 2007-10-23 09:49:56 +00:00
Ulf Samuelsson
575d3465ab Use the right Config for AVR32 gcc build 2007-10-01 21:12:54 +00:00
Ulf Samuelsson
f885e239ea Revert modification of gcc, and make it AVR32 specific 2007-09-29 20:44:30 +00:00
Bernhard Reutner-Fischer
239c8a5d58 - fix copy'n paste error in ABI configuration 2007-09-15 12:12:56 +00:00
Bernhard Reutner-Fischer
bc970eced7 - make sure to honour user flags 2007-08-26 21:00:56 +00:00
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Ulf Samuelsson
7f21ead887 Simplify AVR32 gcc build (libmudflap, doesn't work, so applied even though objections) 2007-08-01 08:58:14 +00:00
Ulf Samuelsson
f4933fcbb3 Add AVR32 options to gcc 2007-07-29 17:51:32 +00:00
Bernhard Reutner-Fischer
9fbb109506 - unify the GCC_WITH_ configure options and make them active 2007-07-08 16:27:25 +00:00
Bernhard Reutner-Fischer
323e37f463 - make sure that we do not confuse versions (due to how findstring works) 2007-04-02 16:18:48 +00:00
Bernhard Reutner-Fischer
4cf81d9970 - 4.0.4 *seems* to support this too, so just exclude anything that is even older than that one. 2007-02-09 13:43:36 +00:00
Bernhard Reutner-Fischer
57c672d433 - allow intermodule also for 4.1 2007-02-04 15:23:26 +00:00
Bernhard Reutner-Fischer
93ab6d3021 - add an experimental BR2_PREFER_IMA.
Currently disfunctional for gcc-4.2 due to PR30620 and possibly others
2007-01-28 12:03:58 +00:00
Bernhard Reutner-Fischer
4687e00808 - for the native target gcc, drop --enable-optspace in favour of using the configured flags (that default to -Os anyway).
Saves about 20% size without additional configure args:
   text    data     bss     dec     hex filename
4685000   17280  566360 5268640  5064a0 optspace/i586-linux-uclibc/4.2.0/cc1
3630655   15184  562172 4208011  40358b usrflags/i586-linux-uclibc/4.2.0/cc1
4853646   23532  568528 5445706  53184a optspace/i586-linux-uclibc/4.2.0/f951
3772121   21292  564148 4357561  427db9 usrflags/i586-linux-uclibc/4.2.0/f951
2007-01-26 14:51:38 +00:00
Bernhard Reutner-Fischer
5039913554 - handle all gcc-4.x for the softfloat case. 2007-01-21 11:50:10 +00:00
Bernhard Reutner-Fischer
52e3eee8b9 - workaround vi's syntax highlighting 2006-12-12 17:01:26 +00:00
Mike Frysinger
7528aaa923 add proper support for gcc snapshots 2006-04-13 05:50:01 +00:00
Eric Andersen
bd7ed099dc Apply the fix for gcc bug #22167
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22167
remove gcc 3.3.3, change config for sjlj exception handling a bit.
2005-07-18 23:34:20 +00:00
Manuel Novoa III
51b8148162 Fix soft float options for gcc 4. 2005-04-30 22:59:05 +00:00
Eric Andersen
d06645d8ed There is no need to have a separate 'Makefile.in' file in the
general case, therefore, combine the toplevel Makefile options
such as setting TARGETS into the per-package *.mk file
2005-02-10 03:06:39 +00:00
Eric Andersen
1a2048464b Philip Rakity writes:
Hi Eric,

I writing privately since I have not heard from Mike for 2 weeks about
a one line patch to the gcc Makefile.in to allow the extra gcc options
to be passed in.  The patch is below and without it -- gcc extra's like


 --with-cpu=xscale

do not work.

The patch is as follows:
2005-01-23 10:28:04 +00:00
Mike Frysinger
ce74d2d8c1 add gcc 3.3.5/3.4.3 options 2004-11-17 22:24:02 +00:00
Eric Andersen
dbfd77f671 Kristian Hoffmann writes:
TARGET_LANGUAGES wasn't being set correctly if you enable GCJ or C++ in
the buildroot config.  It looks like INSTALL_LIBSTDCPP and INSTALL_LIBGCJ
were renamed to BR2_INSTALL_... in the config system, but not in the gcc
and ccache makefiles.

-Kristian
2004-10-19 19:20:38 +00:00
Eric Andersen
581bc450f5 Fixup SOFT_FLOAT handling 2004-10-09 21:28:56 +00:00
Eric Andersen
f694016136 final step in buildroot facelift 2004-10-09 06:13:40 +00:00
Eric Andersen
2d523c2317 Major buildroot facelift, step one.
-Erik
2004-10-09 01:06:03 +00:00