This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project. See the libstdc++ home page for more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> | I tried to install libstdc++ into the same directory as egcs. This caused > | an overwrite of the libstdc++ shared library and an addition of g++-v3 in > | the include directory. I set my CPLUS_INCLUDE_PATH to point to that > | directory, and things compiled file, but I get link errors with two > | symbols: bad_alloc and something else ( can't remember now ). > > 'exception table missing'? Yes that's it! > You have to compile libgcc with the following options: > -fnew-abi -fno-honor-std Please excuse my complete ignorance but this is my first time compiling a compiler (still doesn't "feel" right to me) and compiling libstdc++. I don't see libgcc in libstdc++; is it a part of egcs? How do I go about adding the options you mentioned above into the build process? Currently I only do a ./configure --prefix=$whereever ; gmake ; gmake install. Thanks for all your help :)