delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: [GPC] "cannot find -lgcc" |
Date: | 18 Dec 2003 14:04:27 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 23 |
Message-ID: | <brsc5b$1mg$1@nets3.rz.RWTH-Aachen.DE> |
References: | <1n1fid5gv57x1 DOT tdz7w1cj7vq8 DOT dlg AT 40tude DOT net> |
NNTP-Posting-Host: | accip02.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 1071756267 1744 137.226.33.41 (18 Dec 2003 14:04:27 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 18 Dec 2003 14:04:27 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Peter Gertner <peter DOT gertner AT gmx DOT de> 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. By far the most likely reason for that to happen is that you installed mismatched versions of gpc*b.zip and gcc*b.zip. They must be from the *same* version of GCC, since gpc*b contains only those parts of the GNU Compiler Collection that are specific to Pascal. The ground work is all in gcc*b.zip, the C compiler package. > > gpc filename.pas Do 'gpc -v filename.pas', and thoroughly read through what it prints. If you still can't make heads or tails of it, redirect it to a file: redir -eo gpc -v filename.pas > testcompile.log and show it here. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |