This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gas attempting to assemble non-existent file
- From: "Jan Beulich" <jbeulich at novell dot com>
- To: "Alan Modra" <amodra at bigpond dot net dot au>
- Cc: <binutils at sourceware dot org>
- Date: Tue, 12 Sep 2006 08:55:39 +0100
- Subject: Re: gas attempting to assemble non-existent file
- References: <20060912074945.GC22690@bubble.grove.modra.org>
>>> Alan Modra <amodra@bigpond.net.au> 12.09.06 09:49 >>>
>$ 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?
Yes, please - I ran into the same with .include, but hadn't had time to
create a patch, yet.
Jan