This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Patch ping: multiple -o options
Alan Modra wrote:
On Thu, Mar 25, 2004 at 08:33:31AM +0000, Nathan Sidwell wrote:
In fixing GCC PR driver/13577, I discovered both gas and ld silently
allow multiple -o options.
Is that a sin? What is wrong with the last -o just overriding any
previous -o?
I found it a surprise. A quick straw poll of some other experienced
developers found it a surprise. We did not think this situation
the same as -fsome-feature -fno-some-feature, which is flipping
the same switch on and then off.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk