This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

-B vs Multilib


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]