This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld -o behaviour
- To: Nick Clifton <nickc at redhat dot com>
- Subject: Re: ld -o behaviour
- From: Ben Elliston <bje at redhat dot com>
- Date: Wed, 27 Dec 2000 08:44:06 +1100 (EST)
- Cc: <ian at zembu dot com>, <binutils at sources dot redhat dot com>
Hi Nick,
BTW - wouldn't it be easier to change which spec files are causing
this problem so that a space is inserted between the -o and the
filename ? ie instead of having gcc pass "-omagic" to the linker it
could pass "-o magic". This would cause the correct parsing to occur
and would prevent other, similar problems.
I'm not sure that's the right fix -- after all, those running the linker by
hand will experience the same weirdness if they happen to call their final
executable ``magic''.
Perhaps renaming the --omagic option is a better idea.
Ben