This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: some notes on installation with "-fnew-abi -fhonor-std"
- To: Alfred Minarik <a8601248@unet.univie.ac.at>
- Subject: Re: some notes on installation with "-fnew-abi -fhonor-std"
- From: Gabriel Dos_Reis <Gabriel.Dos_Reis@sophia.inria.fr>
- Date: 23 May 1999 11:03:45 +0200
- Cc: libstdc++@sourceware.cygnus.com
- Organization: I.N.R.I.A Sophia-Antipolis (France)
- References: <3746AD17.774CBBD0@unet.univie.ac.at>
Alfred Minarik <a8601248@unet.univie.ac.at> writes:
| Compiling libstdc++v3 with the new recommended options "-fnew-abi
| -fhonor-std" has its problems. For others also trying this,
| I would like to tell how I worked around them,
| and point them out so someone might decide to fix them.
| (this is also probably well known, but not in the docs )
Thanks, I'll take a look at this.
| So what's the point ...:
|
| A)libstdc++v3 needs a working libstdc++ to compile (not very wise):
Untrue.
| a)To finish the configure script (test for working c++) probably the
| reason is b)
Testing for working c++ is required not because we need -lstdc++ but
because we need a c++ compiler to compile the C++ library.
| b)Inside the mknumeric_limits script a complete g++ is called. Using
| g++ -nostdinc++ and a linkstep without -lstdc++ would work.
gen-num-limits.cc only needs a "core" working g++, which is required
if you want to install libstdc++ anyway. It uses features from the
C-library and core C++ template machinery. That is all.
Regards,
-- Gaby