delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Message-ID: | <3C339822.1AD054ED@gmx.de> |
From: | schaecsn <schaecsn AT gmx DOT de> |
X-Mailer: | Mozilla 4.76 [en] (X11; U; Linux 2.4.17 i586) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: cannot find -lgcc |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1020102120646 DOT 29333A-100000 AT is> |
Lines: | 48 |
Date: | Wed, 02 Jan 2002 23:30:14 GMT |
NNTP-Posting-Host: | 165.247.204.5 |
X-Complaints-To: | abuse AT earthlink DOT net |
X-Trace: | newsread1.prod.itd.earthlink.net 1010014214 165.247.204.5 (Wed, 02 Jan 2002 15:30:14 PST) |
NNTP-Posting-Date: | Wed, 02 Jan 2002 15:30:14 PST |
Organization: | EarthLink Inc. -- http://www.EarthLink.net |
X-Received-Date: | Wed, 02 Jan 2002 15:30:16 PST (newsmaster1.prod.itd.earthlink.net) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi Eli Zaretskii, thanks for your effor to help me. In the meantime I figured out the problem. somehow (???) my config.sys lost some entires, including files=40. there have been simply no more file handles left to open libgcc.a. bye, Stefan > > On Wed, 2 Jan 2002, schaecsn wrote: > > > that was my intention but most output scrolls away and I have no clue > > how to write the output into a textfile unter dos. the unix way - a > > little bit simplified - doesn't work: gcc -v hello.c > out or gcc -v > > hello.c 2> out). > > It will work if you install the ported Bash and invoke the command from > Bash. > > ALternatively, the program `redir' supplied with DJGPP can redirect > stderr, like this: > > redir -o out -eo gcc -v hello.c > > (This is in the FAQ, btw.) > > > attempt to open c:/djgpp/lib/libgcc.a failed > > attempt to open c:/djgpp/lib/gcc-lib/djgpp/3.03/libgcc.a failed > > attempt to open c:/djgpp/bin/libgcc.a failed > > attempt to open c:/djgpp/lib/libgcc.a failed > > Hmm... that's strange. > > What if you modify the compilation command like this (this is one long > line): > > gcc hello.c c:/djgpp/lib/gcc-lib/djgpp/3.03/libgcc.a \ > c:/djgpp/lib/libc.a c:/djgpp/lib/gcc-lib/djgpp/3.03/libgcc.a > > Does it work then? -- ___ ___ __ | Name: Stefan Schäckeler / / / /____ (__)__ ___ | E-mail: schaecsn AT gmx DOT de / /_/ / _ \/ /\ \/ / | day: Windows 2000, HP-UX 10.20 \___,__/__//__/__/ /__/\__\ | night: Linux 2.4, NetBSD-Alpha 1.5.2
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |