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: some notes on installation with "-fnew-abi -fhonor-std"


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


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