This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: --sysroot-suffix
On Tue, Jan 18, 2005 at 09:24:37AM -0800, Mark Mitchell wrote:
> In my patch, I rejected the scan over argv[] to look for the option
> because you will get fooled by something like "-L --sysroot".
I'm happy enough with Richard's patch. If something like the above
becomes an issue, we can fix it by rewriting ld's arg parser. See
lexsup.c:parse_args for more examples of the problem Mark is raising.
--
Alan Modra
IBM OzLabs - Linux Technology Centre