This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: --sysroot-suffix


Daniel Jacobowitz <drow@false.org> writes:
> There seems to be plenty of precedent for --argument=value in GNU ld,
> but the documentation says:
>
>        Arguments  to  multiple-letter  options  must  either  be
>        separated from the option name by an equals sign, or be given as
>        separate arguments immediately following the option that
>        requires them.  For example, --trace-symbol foo and
>        --trace-symbol=foo are equivalent.  Unique abbreviations of
>        the names of multiple-letter options are accepted.
>
> I always use the space, personally, so I'd be pretty confused by the
> dummy option handling; how about supporting that too?

It's much harder to do that in gcc though, and it's not really
consistent with gcc option handling, which usually enforces the
"--arg=value" form.  I thought it would be confusing to support
"--arg value" in one but not the other, especially given that
the interface is identical otherwise.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]