gcc default library location

aoliva@redhat.com aoliva@redhat.com
Thu Aug 2 10:59:00 GMT 2001


On Aug  1, 2001, "Nathaniel Mallet" <Nathaniel.Mallet@home.com> wrote:

>     gcc -o hw main.o

> I get a series of unresolved symbols found in
> /usr/local/lib/ld.so.6.

Add -v to the command line and you'll see that GCC passes a command
line option to the linker that tells it which ld.so to use as the
program interpreter.  You'll have to override this in the command
line.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list