This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Allow SECTION_FLAGS to be overridden by EXTRA_CXX_FLAGS


On Mon, Jan 27, 2003 at 10:10:37AM +1100, Danny Smith wrote:
> The attached patch allows the configure switch:
> --enable-cxx-flags='-fno-data-sections -fno-function-sections'
> to work by reversing the order of @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@

You didn't say that this has been tested (what primary platforms, what
branches), but I'm assuming you have done.


> -fdata-sections and -ffunction-sections appear to offer no advantage
> on mingw32 target but do make larger executeables.

I'm rather surprised that they aren't disabled/ignored on that platform.
(By the compiler, I mean.)


> 2003-01-27  Danny Smith  <dannysmith@users.sourceforge.net>
>  
> 	* src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
> 	@EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
> 	* libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
> 	* src/Makefile.in: Regenerate.
> 	* libsupc++/Makefile.in: Regenerate.

While you do need to mention the .in files in the changelog entry, there's
no need to actually post that part of the diff.

This is okay for mainline.


Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]