This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-B vs Multilib
- From: Greg Schafer <gschafer at zip dot com dot au>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 12 Mar 2008 22:44:48 +1100
- Subject: -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