delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/10/10:17:42

Date: Sun, 10 Dec 2000 17:12:23 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Yoram Hofman <yoram AT htsol DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Library within library
In-Reply-To: <3A338B54.809D3DC@htsol.com>
Message-ID: <Pine.SUN.3.91.1001210171140.3634D-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


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