This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ld -o behaviour
- To: <binutils at sources dot redhat dot com>
- Subject: ld -o behaviour
- From: Ben Elliston <bje at redhat dot com>
- Date: Sun, 24 Dec 2000 19:16:11 +1100 (EST)
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?
Ben