🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #37

Help: how do you redirect compile error to a file

#37
From: yuehong
Date: Sun, 17 Mar 1996 07:02
6 lines
533 bytes
I try to use the following command when I compile hello.cpp 
using gcc on linux:

g++ hello.cpp >bug

I thought error might be saved in bug. But, nothing there.
Technical Details
Message-ID: <4igdeo$8tf@news.jhu.edu>
Path: arc1-ca.pugleaf.net!news.jhu.edu!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.jhu.edu!news
From: yuehong@psi.ece.jhu.edu (yuehong)
Newsgroups: comp.os.linux.misc,comp.lang.c++,gnu.gcc.help
Subject: Help: how do you redirect compile error to a file
Date: 17 Mar 1996 07:02:48 GMT
Organization: The Johns Hopkins University
Message-ID: <4igdeo$8tf@news.jhu.edu>
NNTP-Posting-Host: 128.220.62.137
X-Newsreader: WinVN 0.92.6+