Stephen Wille Padnos wrote:
>
> Yep.  Actually, there may be some errors that don't get logged that 
> way.  You can also redirect stderr to stdout, if you want to catch those 
> also:
> make 2>&1 > 1make.txt
> the 2>&1 redirects file 2 (stderr) to file 1 (stdout), then the > 
> redirects stdout to the file.
>   
A slightly more concise syntax is :
make 2>&1 | tee compile.log

The tee allows you to see the messages live as well as writing them out 
to a file.

Jon

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to