Date: Sun, 24 Jan 1999 11:01:13 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: lmc83 cc: djgpp AT delorie DOT com Subject: Re: undefined reference In-Reply-To: <36A93EED.8D6D0549@cs.ccu.edu.tw> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.