gold patch committed: Skip incompatible objects

Ian Lance Taylor iant@google.com
Mon Mar 16 21:07:00 GMT 2009


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



More information about the Binutils mailing list