This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: Bootstrapping
- To: Benjamin Kosnik <bkoz@cygnus.com>
- Subject: Re: Bootstrapping
- From: Alfred Minarik <a8601248@unet.univie.ac.at>
- Date: Tue, 10 Aug 1999 11:23:33 +0200
- CC: Pavel Roskin <pavel_roskin@geocities.com>, libstdc++@sourceware.cygnus.com
- References: <Pine.SUN.3.91.990809231113.2681A-100000@rtl.cygnus.com>
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