🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50009

Re: Redirect error message for djgpp

#50009
From: Fergus Henderson
Date: Fri, 26 Nov 1993 14:58
18 lines
1205 bytes
peterx@swordfish.EECS.Berkeley.EDU (Peter Xiao) writes:

>Hi, there,
>
>I am wondering what's the correct way to redirect error messages for
>gcc.exe in the djgpp package. 
>I tried:
>gcc foo.c >> err
>
>but it complains >> and err files not found.

Redirection is handled by your command shell - probably DOS's
COMMAND.COM in your case - not by gcc.  DOS doesn't understand
all the redirection options than unix shells understand.
Try using just a single `>'.

-- 
Fergus Henderson                     fjh@munta.cs.mu.OZ.AU
Technical Details
Message-ID: <9333101.848@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!howland.reston.ans.net!pipex!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
References: <2csmgo$jkg@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,432f3c3b2fd96ba4
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-26 07:02:11 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!howland.reston.ans.net!pipex!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Subject: Re: Redirect error message for djgpp
Message-ID: <9333101.848@mulga.cs.mu.OZ.AU>
Sender: news@cs.mu.OZ.AU
Organization: Computer Science, University of Melbourne, Australia
References: <2csmgo$jkg@agate.berkeley.edu>
Date: Fri, 26 Nov 1993 14:58:19 GMT
Lines: 18