Date: Sun, 10 Dec 2000 17:12:23 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Yoram Hofman cc: djgpp AT delorie DOT com Subject: Re: Library within library In-Reply-To: <3A338B54.809D3DC@htsol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 10 Dec 2000, Yoram Hofman wrote: > I have my own library own.a. Some functions within this library defined > in the strange.a library that supplied by somebody else. > When I try to compile .exe files using own.a I receive linker errors > such as > "unresolved reference to sss " there ss is 'name of function defined > in strange.a'. > What have I to do ? Put own.a before strange.a on the link command line. The GNU linker is a one-pass linker, so the order matters.