Mail Archives: djgpp/1999/06/04/21:55:47
From: | "Johan Venter" <jventer AT writeme DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
References: | <3756E923 DOT 9CCF52D0 AT geocities DOT com>
|
Subject: | Re: Linker under Djgpp
|
Lines: | 26
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 5.00.2014.211
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211
|
Message-ID: | <npQ53.4793$PN5.15615@newsfeeds.bigpond.com>
|
Date: | Fri, 4 Jun 1999 11:00:47 +1000
|
NNTP-Posting-Host: | 139.134.161.132
|
X-Trace: | newsfeeds.bigpond.com 928502483 139.134.161.132 (Fri, 04 Jun 1999 23:21:23 EST)
|
NNTP-Posting-Date: | Fri, 04 Jun 1999 23:21:23 EST
|
Organization: | Telstra BigPond Internet Services (http://www.bigpond.com)
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Timothy Stallmann <fenris AT geocities DOT com> wrote in message
news:3756E923 DOT 9CCF52D0 AT geocities DOT com...
> I've been trying to set up the gpc pascal compiler under djgpp, and have
> installed all the necesarry djgpp stuff, but whenever I try to use the
> linker, the option -l that according to the help for gpc is supposed to
> take a library name as the argument gives me an error. When ever I try
> for example:
> ld test.o -l libgpc.a,
> I get an error message "Cannot find file -llibgpc.a, unrecognized file
> type" Also, it seems that some of the other switches, like directories
> to search, etc, don't work. Has anyone else run into this problem?
1. There should be no space between the -l and the library.
2. Try just -lgpc, because normally the lib is automatically appended.
Well, those will only work assuming that ld's parameters work the same way
as gcc's.
--
Johan Venter
ICQ 3643877
Visit "The TPU DJGPP Interest Group":
http://surf.to/djgppig
- Raw text -