Linking with library

Jeffrey A Law law@cygnus.com
Mon Jan 26 10:09:00 GMT 1998


  In message < 34CC5690.D5F1DE60@sophia.inria.fr >you write:
  > I am trying to use a Library from ILOG compagnie with eg++ (1.0.1)  on a
  > Spar 5 and when i try to link this lib it seems eg++ does not find the
  > symbols in the lib. Is there any option to give to the linker in order
  > to make him find the functions in the lib ?
In general, libraries compiled with different major releases of the compiler
are not compatable.

It sounds like you're trying to link in a library that was compiled by
gcc-2.7.x with code compiled with egcs or gcc-2.8.  This will not work.

jeff



More information about the Gcc mailing list