Please don't send HTML to the list. Plain text works just fine, thanks.
> I meet some problem when I use make.I can use clean command,it report
> error as bellow:
> bash.exe: del: command not found
"del" is a DOS command. I don't know much about DOS and Windows, but my
understanding is this is built into the command.com and isn't a
separate, standalone utility. If so, you can't invoke it from bash, of
course.
In UNIX, one uses the "rm" program to delete files.
> Another problem is I want to see the error information the gmake =
> output,so I use the command line:make >error.txt
> But it does not work,only the command line of make output to error.txt =
> and the error information is not in error.txt.What is the reason?
You need to get a book on shell; this isn't a make issue.
UNIX programs have two output streams: stdout and stderr. "Normal"
output is typically printed to stdout, and error output goes to stderr.
By default, both are displayed on your screen.
The file redirection ">foo" sends stdout to the file "foo", but it
doesn't touch anything written to stderr.
In UNIX sh, you use: ">foo 2>&1" to send both stdout and stderr to the
file "foo". See the man page for a complete discussion of this syntax
and what it really means.
In bash, there is a shortcut ">&foo" that does the same thing (send both
stdout and stderr to file "foo") that you can use if you like.
HTH...
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.ultranet.com/~pauld/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist