Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Petr Mrazek , djgpp AT delorie DOT com Date: Mon, 22 Dec 1997 12:24:45 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: 2 and more libraries in one project In-reply-to: Precedence: bulk Petr Mrazek 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