gcc34 and older libraries

Claudio Bley bley@CS.uni-magdeburg.de
Fri Jun 4 09:31:00 GMT 2004


Hello Yevgeni (or is it Shebeko?).

On Fri, Jun 04, 2004 at 09:46:21AM +0300, ?????? ??????? wrote:
> 
>   Hi, i compile my program using gcc34.
>   But I need to use libraries compiled using gcc-2.95
>   Is it possible?

Nope, it isn't possible (regarding C++; C libraries should
work fine).

>   I need use libraries compiled on older compiler, because
>   on FreeBSD gcc34 installed around of native compiler.(gcc-2.95)

You'd need to recompile all the C++ libraries with the new compiler
in order to use them with your g++ 3.4 compiled programs.

Cheers.
-- 
Claudio



More information about the Gcc-help mailing list