------- Comment #3 from gin at mo dot msk dot ru 2006-09-04 19:32 ------- Subject: Re: -B$(build_tooldir)/bin/
> Why do you think this wrong? -B. is suppied first so this is not a bug If during build all files are found through `-B./' (or other specification of part of build tree containing files that are already built), then `-B$(build_tooldir)/bin/' is not needed at all. Otherwise, build process uses some external software that must be installed before build. Where it is installed has nothing to do with gcc build configuration and installation tree conventions. We have to configure arbitrary directories / compiler options for this. With `Makefile.in' as it is currently one can not do that. It sets this external software option unconditionally to point to `$(exec_prefix)/$(target_noncanonical)/bin' directory - with variables from build configuration of gcc, not of that external software. It will break build if the external software to use is actually installed elsewhere, and software in `$(build_tooldir)/bin/' also exists, but behaves in a quite different way. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28472