Building an archive

Alexandre Oliva aoliva@redhat.com
Tue Jul 25 16:53:00 GMT 2000


On Jul 25, 2000, "Gerwyn Davies" <gerwyn@tommoll.freeserve.co.uk> wrote:

> I'm using the mips-tx39-elf tools, and having problems linking with
> archives that I have built. The linker just can't seem to resolve
> the symbols.

Make sure you list the archive library after object files that refer
to symbols in it, because linkers have been one-pass forever.

-- 
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