Mail Archives: djgpp/2004/12/11/23:56:21
> Date: Sun, 12 Dec 2004 11:31:59 +0800 (CST)
> From: Dian Yin <yindian AT mail DOT ustc DOT edu DOT cn>
>
> Every time I try to use DJGPP, I start the computer and download it from
> the internet, and extract it using PKUNZIP. Sometimes I extract them to
> d:\dj\, sometimes to d:\djgpp. I think that doesn't matter.
It doesn't matter as long as you point the DJGPP environment variable
to the right place.
Also, for the purposes of finding the problem, please try to be
consistent, as it makes things easier.
> > > d:/djgpp/bin/../libexec/gcc/djgpp/3.43/collect2.exe d:/djgpp/lib/crt0.o -Ld:/djgpp/bin/../lib/gcc/djgpp/3.43 -Ld:/djgpp/bin/../lib/gcc -Ld:/djgpp/lib -Ld:/djgpp/lib/gcc/djgpp/3.43 -Ld:/djgpp/bin -Ld:/djgpp/lib -Ld:/djgpp/bin/../lib/gcc/djgpp/3.43/../../.. -Ld:/djgpp/lib d:/djgpp/tmp/cckJjnsr.o -lgcc -lc -lgcc -Tdjgpp-x.djl
> > > d:/djgpp/bin/ld.exe: cannot find -lgcc
> >
> > Didn't you say it complained about -lc, not -lgcc?
>
> I tested that, when I simply type "gcc -v hello.c", it complains about
> -lc, and when I type "redir -e hello.out gcc -v hello.c", it complains
> about -lgcc.
Then I'd suspect a problem with free handles. Please read section 9.7
of the DJGPP FAQ list and try to enlarge the number of handles using
the methods suggested there. Then see if that makes your problem go
away.
- Raw text -