Re: [Mingw-users] messages
At 07:53 AM 12/29/07, you wrote:
> >>assuming you want to read the messages after running make, you can use
> >>"make 1>&messages.txt 2>&1".
>
>The number before the redirection represents the stream to be redirected,
>where 1 = stdout and and 2 = stderr. The &1 represents the previously-
>mentioned messages.txt, so the command means redirect messages
>written to stdout and stderr to messages.txt. The 1> is not necessary,
>since by default '>' redirects stdout.
>
>Since gcc writes its warnings and error messages to stderr, your text files
>contain neither. You will see only the commands that make executed.
tried every combination of 1>&messages.txt 2>&1
Ampersands always become part of the filename.
adding a 1 or a 2 is never accepted - "no rule to make target '2'"
>>mess.txt = stdout
>mess.txt >mess2.txt = stdout
>mess.txt >>mess2.txt = stdout
is this a bug with mingw32-make.exe?
no &s nor numbers before >
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users