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: Using libstdc++-2.90.4 with egcs 1.1.2


Gerald Gutierrez <gutier@intergate.bc.ca> writes:

| Hi all.
| 
| I've been trying to get libstdc++ 2.90.4 working with my newly compiled
| egcs-1.1.2 and I'm having trouble getting things to link properly.
| 
| egcs-1.1.2 compiled and installed with no problems, and worked fine as
| part as I could tell. 
| 
| 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'?

You have to compile libgcc with the following options:

	-fnew-abi -fno-honor-std

| The documentation isn't all that clear on the pitfalls of using
| the current evrsion of libstdc++ as well as how to use it instead of the
| libstdc++ included with egcs ( which is v2 I think? ).

I'll try to improve the doc. Thanks for your feedback.

-- Gaby


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