This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc default library location


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]