GNU Info

Info Node: (nasm.info)Section 2.1.8

(nasm.info)Section 2.1.8


Next: Section 2.1.9 Prev: Section 2.1.7 Up: Section 2.1
Enter node , (file) or (file)node

2.1.8. The `-E' Option: Send Errors to a File
---------------------------------------------

   Under `MS-DOS' it can be difficult (though there are ways) to
redirect the standard-error output of a program to a file. Since NASM
usually produces its warning and error messages on `stderr', this can
make it hard to capture the errors if (for example) you want to load
them into an editor.

   NASM therefore provides the `-E' option, taking a filename argument
which causes errors to be sent to the specified files rather than
standard error. Therefore you can redirect the errors into a file by
typing

     nasm -E myfile.err -f obj myfile.asm


automatically generated by info2www version 1.2.2.9