This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld -o behaviour
- To: Ben Elliston <bje at redhat dot com>
- Subject: Re: ld -o behaviour
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 25 Dec 2000 15:48:06 -0800
- Date: 25 Dec 2000 15:48:06 -0800
- Cc: <binutils at sources dot redhat dot com>
- References: <Pine.LNX.4.31.0012241909470.14880-100000@moshpit.cygnus.com>
Ben Elliston <bje@redhat.com> writes:
ld behaves inconsistently with its `-o' option. If I run:
ld foo.o -o foo.x or
ld foo.o -ofoo.x
I get the same results. If I run:
ld foo.o -omagic
ld names the output file `a.out' (as if no -o option was given at all).
Could it be that ld accepts -omagic is if it were --omagic?
Yes, it does. ld accepts all long options with a single dash as well
as with two dashes.
Ian