delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/12/11/23:56:21

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Sun, 12 Dec 2004 06:55:58 +0200
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-ID: <01c4e007$Blat.v2.2.2$0453a500@zahav.net.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2
In-reply-to: <Pine.GSO.4.31L2A.0412121124530.22850-200000@mail> (message from
Dian Yin on Sun, 12 Dec 2004 11:31:59 +0800 (CST))
Subject: Re: Excuse me, why can't I run DJGPP properly?
References: <Pine DOT GSO DOT 4 DOT 31L2A DOT 0412121124530 DOT 22850-200000 AT mail>
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

> 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 -


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