This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
gas attempting to assemble non-existent file
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Tue, 12 Sep 2006 17:19:45 +0930
- Subject: gas attempting to assemble non-existent file
$ gas/as-new -o foo non-existent-file.s
Assembler messages:
Can't open non-existent-file.s for reading: No such file or directory
$ echo $?
0
$ ls -l foo
-rw-r--r-- 1 alan users 441 2006-09-12 15:39 foo
Seems to me we ought to return a non-zero exit status and delete the
output. Am I missing something?
--
Alan Modra
IBM OzLabs - Linux Technology Centre