X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Peter Gertner Subject: Re: [GPC] "cannot find -lgcc" Newsgroups: comp.os.msdos.djgpp MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <1n1fid5gv57x1 DOT tdz7w1cj7vq8 DOT dlg AT 40tude DOT net> <1r28svmseuy2s DOT 1l3r8tdcn4j1t DOT dlg AT 40tude DOT net> Date: Fri, 19 Dec 2003 14:28:47 +0100 Message-ID: User-Agent: 40tude_Dialog/2.0.5.1 Lines: 24 NNTP-Posting-Host: 213.7.168.130 X-Trace: 1071840528 news.freenet.de 3019 213.7.168.130:2599 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 18 Dec 2003 22:52:35 GMT, Martin Ambuhl wrote: > Compiling your program (name a.pas) with > gpc -v a.pas > yields the following. Compare it to yours Except for some file and path names, there are no differences. But there are no versions of the used gcc, just the version of the gcc used to compile the binary of gpc (I did not compile it by myself). > I have several: > > The one you need is > /djgpp/lib/gcc-lib/djgpp/3.22/libgcc.a Well, does ld automatically add the prefix "lib" to the file? In the parameter, only "gcc" is given, but you say that the corresponding filename is "libgcc". If ld adds such prefixes automatically, I've just learned another thing about the binutils :o) > Just download gcc 3.2.2 from the usual sites. Remember to reinstall gcc > 3.3.2 after installing gcc 3.2.2 As you can see in my other reply, I have to wait until I can download it. But I will and try it. Thanks Peter Gertner