Hi,

Currently, -B doesn't add the multilib search paths when processing
startfile_prefixes. For example, -B $prefix/lib/ doesn't find startfiles in
$prefix/lib/../lib64

Most other calls to add_prefix() in gcc.c that refer to startfile_prefixes
do actually process the multilibs. Is there any good reason why -B needs to
be different? Maybe there are assumptions in the GCC build itself that would
break if this were to change.

As you can probably tell, I haven't yet tried a build with this changed but
was just wondering if anyone knew the rationale for the current -B behaviour
WRT startfiles and/or whether it's just an oversight.

Thanks
Greg

Reply via email to