Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Compiling

Re: Compiling

From: Michael Graham <magog_at_the-wire.com>
Date: Fri, 28 Nov 2003 13:23:24 -0500

> ...and you can't redirect it to a file either, cos the errors are written
> to stderr and the messages to stdout - no way of knowing where the errors
> occur! D'oh!

FWIW, you can redirect STDERR in both cmd.exe and bash using the
following syntax:

    somecommand 2> errors.txt

You can redirect both at once with:

    somecommand 2> errors.txt > output.txt

For instance, try the following:

    perl -le "print 'message!'; print STDERR 'error!'" 2> errors.txt >output.txt


Michael


--
Michael Graham
magog_at_the-wire.com
Received on 2003-11-28

Page template was last modified "Sat Sep 18 20:21:06 2021" The Rockbox Crew -- Privacy Policy