Bootstrapping

Gabriel Dos Reis dosreis@cmla.ens-cachan.fr
Tue Aug 10 05:58:00 GMT 1999


Alfred Minarik <a8601248@unet.univie.ac.at> writes:

| 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 [...].

We already use similar options in mknumeric_limits to compile
src/gen-num-limits.cc 

-- Gaby


More information about the Libstdc++ mailing list