gcc detect multiple -o passed on one command line
Andreas Schwab
schwab@redhat.com
Fri May 6 08:28:00 GMT 2011
Ian Lance Taylor <iant@google.com> writes:
> The difference is that with -E the -o option is passed to cc1, whereas
> without it the -o option is passed to the assembler or the linker. The
> GNU assembler and linker both have the usual Unix behaviour of only
> using the last -o option.
Nevertheless it might be a good idea to file a bug for binutils.
Consistency is probably more important, and it helps in case of typos.
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
More information about the Gcc
mailing list