This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/30810] top-level BOOT_CFLAGS not being used for bootstrapping
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2007 22:29:09 -0000
- Subject: [Bug bootstrap/30810] top-level BOOT_CFLAGS not being used for bootstrapping
- References: <bug-30810-14108@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2007-02-16 22:29 -------
libcpp should be use BOOT_CFLAGS in 4.1.0 and before.
In 4.2.0 and above the toplevel bootstrap allows libcpp to be compiled three
times.
Second there is TARGET_CFLAGS also which is used to compile target libraries.
>Here the compiler gets "-ffunction-sections -fdata-sections -O2" prepended.
> AFAIK the first two flags currently only make sense on Suns where the linker
> can actually use that information (according to the manpage).
GNU's binutils (ld) does support the GCing of sections.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30810