Migrating from gcc2.96 to gcc 3.0.2

Jeff Sturm jsturm@one-point.com
Mon Jan 7 15:17:00 GMT 2002


On Mon, 7 Jan 2002, Nirmit Vikrambhai Desai wrote:
> This was what i was thinking but will it link my programs to correct
> libraries of the newer version ?

As in libstdc++, etc.?  There should be no conflict.  The 3.0.2 shared
libraries will have a different soname than those from the Red Hat
compiler.

You may find it helpful to add /usr/local/lib to your /etc/ld.so.conf and
re-run ldconfig so that the new libraries are automatically found by
ld.so.

Jeff



More information about the Gcc mailing list