make redirection!!

How can i redirect the output of make into a file.
In linux, we use make >& errfile. We can see the compilation errors and
warnings in errfile. Similarly, do we have anything in QNX?


Thanks
Jalaja

Jalaja <jganapat@storage.com> wrote:

How can i redirect the output of make into a file.
In linux, we use make >& errfile. We can see the compilation errors and
warnings in errfile. Similarly, do we have anything in QNX?

I suspect your problems are in a difference in shell. QNX uses the
Korn shell, so you would want

make > errfile 2>&1

Thanks
Jalaja


cburgess@qnx.com

Why not do it the easy way? Just use

make 2> errfile

The “2>&1” cosntruct is very helpful, but only if You are piping…


T. Haupt
BitCtrl Systems GmbH

Colin Burgess wrote:

Jalaja <> jganapat@storage.com> > wrote:
How can i redirect the output of make into a file.
In linux, we use make >& errfile. We can see the compilation errors and
warnings in errfile. Similarly, do we have anything in QNX?

I suspect your problems are in a difference in shell. QNX uses the
Korn shell, so you would want

make > errfile 2>&1

Thanks
Jalaja



\

cburgess@qnx.com