avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] GCC console output capture


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] GCC console output capture
Date: Wed, 11 May 2005 09:42:05 +0200 (MET DST)

In article <address@hidden> you write:

>The compilation works fine but I
>can not capture the GCC console messages (make.exe all > error.txt)

Error messages usually go to standard error output.

If you're using an MS-DOS derivative and its command.com, you lose.
You cannot redirect standard error output there.

If you're using Unix or a Windows NT derivative (with cmd.exe), you
can redirect standard error output.  To get both, standard output
and standard error output into one file:

make.exe all 2>&1 > errors.txt

To only redirect standard error output:

make.exe all 2> errors.txt

To have both in different files:

make.exe all 2> errors.txt > output.txt
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]