delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/22/12:31:53

Date: Mon, 22 Dec 1997 19:30:16 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
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: <Pine.SUN.3.91.971222192901.12237B-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019