24.12. Generate Object File in Spite of Errors: -Z

After an error message, the assembler normally produces no output. If for some reason you are interested in object file output even after the assembler gives an error message on your program, use the “-Z” option. If there are any errors, the assembler continues anyway, and writes an object file after a final warning message of the form:

n errors, m warnings, generating bad object file.