X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Wed, 2 Jan 2002 12:13:13 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: schaecsn cc: djgpp AT delorie DOT com Subject: Re: cannot find -lgcc In-Reply-To: <3C32B63E.473EBF65@gmx.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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?