This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: build successful (was Re: winsup in EGCS?)




Phil Edwards wrote:
> 
> >   $ <srcdir>/configure --prefix=/Cygnus/cygwin-b20 \
> >     --exec-prefix=/Cygnus/cygwin-b20/H-i586-cygwin32 \
> >     -v i586-cygwin32
> >
> >   $ make bootstrap > make.log 2>&1
> 
> I've been trying to use "make blah | tee /something 2&>1" but the error
> messages don't get captured in the logfile.

You should use:

make blah 2>&1 | tee /something

When using a pipe you need to redirect fd 2 into fd 1 BEFORE you use the pipe, if redirecting into a file then you need to redirect AFTER the redirection of fd 1 (into the file) ... it may look bizarre at first glance but when you really look into it it really all makes sense.


> snap .....


Cheers,
Gabriel.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]