Is it possible to link libraries compiled with gcc 2.9 into a new program using gcc 3.2?

Joe Buck jbuck@synopsys.com
Thu Apr 10 17:28:00 GMT 2003


On Thu, Apr 10, 2003 at 11:30:11AM +0200, Erik Nordahl wrote:
> I have som old libraries bought to compile with gcc 2.9, but is now 
> considering upgrading my gcc compiler to version 3.2.

There was never a 2.9.  Perhaps you mean 2.95?

> Can I still use/link the old libraries into a new program build/linked 
> with gcc 3.2?

If they are C, yes.  If they are C++, no, for 2.anything and 3.2.



More information about the Gcc mailing list