X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Trace-PostClient-IP: 68.147.232.190 From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: Linking problem Organization: Systematic Software Message-ID: References: <4453cc79$0$16727$626a54ce AT news DOT free DOT fr> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 26 Date: Sun, 30 Apr 2006 00:25:37 GMT NNTP-Posting-Host: 64.59.135.176 X-Complaints-To: abuse AT shaw DOT ca X-Trace: pd7tw1no 1146356737 64.59.135.176 (Sat, 29 Apr 2006 18:25:37 MDT) NNTP-Posting-Date: Sat, 29 Apr 2006 18:25:37 MDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 29 Apr 2006 22:28:31 +0200 in comp.os.msdos.djgpp, "Martin Boulte" wrote: >Hi guys, > >Could you have a look to my makefile and explain me : > >Is it correct to invoke the linker with a comman file as I do : >$(ILINK_EXE) -t @build.tmp ? >Why the result of linking path is always : cannot find -lgtnul >If I change the order of -lgtnul in the library lit, for example with llang, >the error massage will become : cannot find -llang Try specifying both libraries twice in the command file as in: -lgtnul -llang -lgtnul -lglang as there are sometimes problems when routines in one library call routines in a second library, and there are also routines in the second library calling routines in the first library. -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca) fake address use address above to reply