> On Mon, Apr 09, 2001 at 02:18:03PM -0700, Linux User wrote:
> > Hello everyone,
> > When compiling a C\C++ program is it possible to output any warning
> > during the compile to a file, so they can be reviewed later?
> 
> gcc [options string] > stdout.log 2> stderr.log, or 
> 
> make [make options] > stdout.log 2> stderr.log 


I much prefer to pipe this way:

   >make.log 2>&1

which keeps the two print files merged as they're appear on the screen.

Note that the order above is important.
-- 
Cheers
John Summerfield
http://www2.ami.com.au/ for OS/2 & linux information.
Configuration, networking, combined IBM ftpsites index.

Microsoft's most solid OS: http://www.geocities.com/rcwoolley/

Note: mail delivered to me is deemed to be intended for me, for my disposition.





_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to