This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gas attempting to assemble non-existent file


>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]