Mail Archives: djgpp/1997/12/22/10:22:17
Petr Mrazek <mrazek AT cas3 DOT zlin DOT vutbr DOT cz> wrote:
> 2. But when I want to call foo1 from main and foo2 from foo1 linker says
> "unresolved external foo2" or something like this.
> ( main -> foo1 -> foo2 )
>
> All works fine when both foo1 and foo2 are in one library.
>
> Is it bug of linker?
Not, a limitation (a very hard one):
The order of the libs is important because ld is a one pass linker. Put the
libraries in the right order (use Options|Libraries for that).
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -