After an error message,
as normally produces no output. If for some reason you are interested in object file output even after
as gives an error message on your program, use the -Z option. If there are any errors,
as continues anyways, and writes an object file after a final warning message of the form n errors, m warnings, generating bad object file.