This is the mail archive of the libstdc++@sourceware.cygnus.com 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]

Re: Bootstrapping


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

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