This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: undefined reference to `__eh_pc'



> Date: Thu, 25 Feb 1999 17:11:40 -0500
> From: Jim Foltz <aa204@acorn.net>
> To: egcs@egcs.cygnus.com

> I am a CS student and would like some help in tracking down a
> problem I have when linking against a 3rd party library.

> Our class is using the book called "C++ Program Design" which comes
> with a CD which inludes a library called libezwin.a.

> First, am I right in thinking that to fix my problem, I need to get
> the authors to re-build their library with a newer version of g++?
> What other solution might I have?

> The author of the library claims it was compiled with egcs-2.90.27

You have three options in general, don't use object libraries, use the
egcs-2.90.27 compiler with your application, or have them recompile
with the compiler you want to use.