[RFC] Adding --skip-mismatch option to ld

Richard Henderson rth@cygnus.com
Thu Jul 1 00:00:00 GMT 1999


On Fri, Jun 04, 1999 at 05:12:07PM +0200, Jakub Jelinek wrote:
> Now Solaris linker apparently skips a library in the search path if it is
> for the wrong architecture (=emulation) which makes a lot of sense to me,
> that's why I wrote the second part of this patch. I've made it optional and
> not default because it differs from the standard library path searching, on
> the other side without this any compilation with some wrong arch library in
> the search path before the correct arch one would die in error.

I don't see any need to make this optional.  My preferred solution
would be to skip the library with a note written to the map file
to aid diagnosing user's problems.

Other comments?


r~


More information about the Binutils mailing list