Bootstrapping

Alfred Minarik a8601248@unet.univie.ac.at
Tue Aug 10 02:25:00 GMT 1999


Benjamin Kosnik wrote:
> 
> > Unfortunately, the c++ compiler cannot link executables until a c++
> > library is installed. This is a chicken and egg problem.
> 
> I hadn't really thought about this problem, but I suppose you've got a
> point.
> 

In the past I used to use

CFLAGE='[...] ' \ 
CXXFLAGS='[...] -nodefaultlibs -lgcc -lc' \ 
$LIBSRC_/configure --prefix=$INSTDIR_

this is add -nodefaultlibs -lgcc -lc to CXXFLAGS
at libstdc++v3 configure time, after I had built egcs with [...].

Alfred


More information about the Libstdc++ mailing list