This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gold patch committed: Skip incompatible objects
Michael Hennebry <hennebry@web.cs.ndsu.nodak.edu> writes:
>> ... The only time that an incorrect -L option
>> would be a problem in this way would be if you have multiple libraries
>> with the same name, and you are picking up the wrong one because a -L
>> option was missed. That does not seem like a common case to me.
>
> Or I don't pick up either and it fails to link.
But the linker already gives an error if it can't find any library to
match a -l option.
>> I wouldn't object to optionally warning about missing -L directories,
>> but I don't think it should be the default behaviour, and I doubt I will
>> bother to write such a patch myself.
>
> Perhaps it could be implied by --verbose.
Sure, or --trace, I suppose.
Ian