This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using libstdc++-2.90.4 with egcs 1.1.2
>>>>> "GdR" == Gabriel Dos Reis <Gabriel.Dos_Reis@sophia.inria.fr> writes:
GdR> The simplest way to go is:
GdR> * build the compiler with '-fnew-abi -fno-honor-std' by saying
GdR> CFLAGS='-fnew-abi -fno-honor-std' CXXFLAGS='-fnew-abi -fno-honor-std' \
GdR> egcs/configure --prefix=$whereever --remaining-options
GdR> gmake bootstrap; gmake install
GdR> * build libstdc++-v3 with the same options
BTW, in building libstdc++ this way, the CXXFLAGS do not propagate
into the src/Makefile.
I had to set myself:
CXXFLAGS = -g -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -fnew-abi -fno-honor-std -nostdinc++
# CXXFLAGS = -g -D_GNU_SOURCE -fno-implicit-templates
Best Regards!
Marc
--
Marc Girod Hiomo 5/1 Voice: +358-9-511 23746
Nokia Telecommunications P.O. Box 320 Mobile: +358-40-569 7954
NWS/NMS/NMS for Data 00045 NOKIA Group Fax: +358-9-511 23580
Finland girod@shire.ntc.nokia.com