This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: Unable to build libstdc++-v3
On Fri, Aug 25, 2000 at 11:59:52AM +0200, Ronald Fischer wrote:
> Interesting side note: I was told by Benjamin Kosnik, that recent egcs
> releases are already integrated with libstdc++-v3. So when I invoked
> configure the very first time, I should have stumbled over this problem
> already then. But the first configure ran through it without problems.
They are integrated, yes, but -- and this may sound confusing at first,
but trust me, it's the only make to make this work -- the library (-v3 or
-v2, whichever you choose) isn't even configured until /after/ the compiler
has completely finished building. The timeline looks like:
1 human calls top-level configure
2 T-L configure recursively calls configure's for compiler front-ends,
back-ends, and necessary tools
3 human calls make
4 make builds compiler
5 make calls library configure, telling it to use the newly-built
compiler to do its work
6 make calls library make
7 human calls 'make install'
The funky Solaris grep causes the failure at step 5, so you wouldn't have
seen any failure in steps 1 and 2.
> Here is what I used for configuring:
>
> $srcdir/configure --prefix=$instdir --with-local-prefix=$instdir
> --enable-haifa --enable-language=c++ --enable-honor-std
> --enable-libstdcxx-v3
>
> (Benjamin told be that --encable-honor-std is not necessary anymore, but
> I guess it did not hurt either).
It doesn't currently exist; the compiler itself defaults to honoring std when
you use --enable-libstdc++-v3 at the top-level configure. Configure scripts
ignore anything they don't understand, so it doesn't hurt in that sense.
(In another sense, it's worse than useless, because it gives the impression
that it's actually doing something. :-)
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.