gnu.gcc.help
[Top] [All Lists]

Re: Linking to libraries compiled with 2.95.2?

Subject: Re: Linking to libraries compiled with 2.95.2?
From:
Date: 21 Jul 2006 12:21:04 -0700
Newsgroups: gnu.gcc.help
Eric.Medlin@xxxxxxxxx wrote:
> I am moving over a project from 3-4 years ago to a new linux box.  I
> have updated my program to work with 4.0, but I get linking errors in
> some old libraries a I need that were compiled with 2.95.2.  Can I link
> to them or am I out of luck?  The libraries are still supported, but
> they still do not use a new gcc for them.  I cannot compile my code
> with 2.96 (oldest gcc I have loaded) because other libraries I use need
> a newer gcc and many dependances follow after that.  As of right now I
> am downloading Redhat 7.1 (so old) to install on a new computer since I
> that is what it all ran on before.

I got it to compile, I will be testing it shortly.  The old library
came with a sample project and makefile, and I using that makefile to
get the compile flags I needed.  I removed the -static flag they were
using and my project compiled.  Hope it runs now.


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy