Article View: alt.linux
Article #343howto move the errors from gcc to a file?
From: David. E. Goble
Date: Fri, 25 May 2001 04:33
Date: Fri, 25 May 2001 04:33
8 lines
1375 bytes
1375 bytes
Hi all; I am just beginning to try programming in linux (redhat). My problem is when I use gcc ...etc it produces a scolling list of errors. How can I move or pipe the errors to a file. ie something like gcc -o hello.c > error.txt?
Technical Details
Message-ID:
<3b0d0a50.19718301@news.adelaide.on.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub.sdsu.edu!news1.best.com!duster.adelaide.on.net!203.48.5.192Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c696,4d862f9db31ad355,start X-Google-Attributes: gid10c696,public X-Google-Thread: 100c5f,4d862f9db31ad355,start X-Google-Attributes: gid100c5f,public X-Google-Thread: 102983,4d862f9db31ad355,start X-Google-Attributes: gid102983,public X-Google-Thread: f9b51,4d862f9db31ad355,start X-Google-Attributes: gidf9b51,public X-Google-ArrivalTime: 2001-05-24 21:26:20 PST From: goble@gtech (David. E. Goble) Newsgroups: alt.linux,aus.computers.linux,comp.os.linux.development.apps,comp.os.linux.setup Subject: howto move the errors from gcc to a file? Date: Fri, 25 May 2001 04:33:33 GMT Sender: goble@kin.on.net (David. E. Goble) Organization: Gtech.Computing Reply-To: goble@gtech Message-ID: <3b0d0a50.19718301@news.adelaide.on.net> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 203.48.5.192 X-Trace: 25 May 2001 13:56:19 +0950, 203.48.5.192 Lines: 8 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub.sdsu.edu!news1.best.com!duster.adelaide.on.net!203.48.5.192