delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/24/04:04:20

Date: Sun, 24 Jan 1999 11:01:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: lmc83 <lmc83 AT cs DOT ccu DOT edu DOT tw>
cc: djgpp AT delorie DOT com
Subject: Re: undefined reference
In-Reply-To: <36A93EED.8D6D0549@cs.ccu.edu.tw>
Message-ID: <Pine.SUN.3.91.990124110046.4501S-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On 23 Jan 1999, lmc83 wrote:

> It seems that DJGPP is a one pass compiler,

You mean, one-pass linker, right?

> so that the function
> referenced by other must be put from behind, but if some library
> reference with each other, how to deal with it?

Check out section 8.9 of the DJGPP FAQ list (v2/faq211b.zip from the
same place you got DJGPP).  It describes the "-( -lfoo -lbar -)"
feature of the GNU linker that you could use.

- Raw text -


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