delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/12/17/17:45:15

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Martin Ambuhl <mambuhl AT earthlink DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en, de, fr, ru, el, zh
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [GPC] "cannot find -lgcc"
References: <1n1fid5gv57x1 DOT tdz7w1cj7vq8 DOT dlg AT 40tude DOT net>
In-Reply-To: <1n1fid5gv57x1.tdz7w1cj7vq8.dlg@40tude.net>
Lines: 21
Message-ID: <oY4Eb.3129$Ts5.327@newsread2.news.atl.earthlink.net>
Date: Wed, 17 Dec 2003 22:41:24 GMT
NNTP-Posting-Host: 65.178.16.229
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread2.news.atl.earthlink.net 1071700884 65.178.16.229 (Wed, 17 Dec 2003 17:41:24 EST)
NNTP-Posting-Date: Wed, 17 Dec 2003 17:41:24 EST
Organization: EarthLink Inc. -- http://www.EarthLink.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Peter Gertner wrote:
[...]
> But if I try to compile a Pascal program using the Gnu Pascal Compiler 
> (GPC), I always get an error from ld.exe, telling me that the linker can't 
> find -lgcc.
> The source file looks as follows:
> 
>>program Pi;
>>var i : integer;
>>begin
>>  i := 5*5 + 2;
>>end. 

Using gpc 3.2.2 (I otherwise use gcc 3.3.2), I cannot reproduce this error. 
  Perhaps you could tell us more about how you have configured gpc/gcc to 
get this problem.


-- 
Martin Ambuhl

- Raw text -


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