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


On Tue, Jan 18, 2005 at 04:10:13PM +0000, Richard Sandiford wrote:
> 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.

I think violating the ld manual's description is a bigger problem.
It says that "--sysroot=foo" and "--sysroot foo" should be
equivalent...

-- 
Daniel Jacobowitz


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