Date: Mon, 22 Dec 1997 19:30:16 +0200 (IST) From: Eli Zaretskii To: Thomas Demmer cc: djgpp AT delorie DOT com Subject: Re: 2 and more libraries in one project In-Reply-To: <349E8BB2.3828BDBB@LSTM.Ruhr-UNI-Bochum.De> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 22 Dec 1997, Thomas Demmer wrote: > Ugly is, when you have modules calling each other across libraries, > then you need to say something like -lfoo1 -lfoo2 -lfoo1 and have to > read foo1 twice. There's a way to force ld to repeatedly scan all the libraries untill all the externals are resolved (if they can be). I think you need to put parentheses around the libraries, but the manual should tell.