delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/26/16:33:35

Date: Fri, 26 Oct 2001 22:29:42 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Yinghong" <zhouzi2000 AT yahoo DOT com>
Message-Id: <8296-Fri26Oct2001222942+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <9rc3hq$fg1$1@watserv3.uwaterloo.ca> (zhouzi2000@yahoo.com)
Subject: Re: ld.exe: cannot find -lgcc
References: <9rc3hq$fg1$1 AT watserv3 DOT uwaterloo DOT ca>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Yinghong" <zhouzi2000 AT yahoo DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 26 Oct 2001 12:39:58 -0400
> 
> I tried to use gcc in windows98. I have installed bun2951b,
> gpp2952b,djdev203 and gcc2952b on my computer. But every time I compile, I
> got the error message:
> C:\bun2951b\bin/ld.exe: cannot find -lgcc.

You have old versions of the compiler and especially the Binutils.
Please download gcc2953b.zip, gpp2953b.zip and bnu2112b.zip.  The
latter is Binutils 2.11.2, whereas you installed 2.9.5.1, a much older
version.

In addition, the telltale C:\bun2951b\bin/ld.exe thingy tells me that
you use WinZip to unzip the *.zip files.  Don't do that: WinZip
sometimes completely messes up the directory structure recorded inside
the *.zip files, in a way that will prevent tyour DJGPP installation
from working correctly.

Instead, download unzip32.exe from the same place where you got the
rest of DJGPP, and use unzip32.exe to unzip the files, like this:

     mkdir c:\djgpp
     cd c:\djgpp
     c:
     unzip32 gcc2953b.zip
     unzip32 bnu2112b.zip

etc.

- Raw text -


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