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