delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/04/29/20:31:02

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Trace-PostClient-IP: 68.147.232.190
From: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Linking problem
Organization: Systematic Software
Message-ID: <aq0852lt1e8t0rhvf1judal7463crf59kl@4ax.com>
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
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" <martin DOT boulte AT free DOT fr> 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

- Raw text -


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