Mail Archives: djgpp/2001/10/26/16:33:35
> 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 -