This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linking with library
- To: Fabrice Didierjean <Fabrice dot Didierjean at sophia dot inria dot fr>
- Subject: Re: Linking with library
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 26 Jan 1998 11:05:46 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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