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]

-ffunction-sections


For those that care to try their luck using -ffunction-sections when building 
a cross compiled libstdc++ - you'll have to manually enable it - using 
--enable-cxx-flags=-ffunction-sections. 

The call in configure to GLIBCPP_CHECK_COMPILER_FEATURES has been commented 
out. How inconvenient...

This whole cross compiler configuring section seems awfully messy and 
arbitrary. There has to be A Better Way (TM). 

Also, Is it possible to set --enable-cxx-flags in libstdc++ from the toplevel 
gcc configure script?


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