This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: $(build_tooldir)/lib (was Re: http://gcc.gnu.org/ml/gcc-patches/2000-05/msg01104.html)
>>>>> Alexandre Oliva <aoliva@redhat.com> writes:
> On Jul 21, 2000, Jason Merrill <jason@redhat.com> wrote:
>> Do any other projects use unlibsubdir?
> I don't think so. It's GCC that does. GCC creates the directory so
> that other projects don't have to care about it: a yet-to-be-installed
> GCC will just find libraries that have already been installed. If GCC
> refrains from creating the directory so that it can find pre-installed
> libraries and headers, other projects that depend on it finding them
> will have to be taught to tell GCC to look for them there.
...by adding -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include to
CC_FOR_TARGET, perhaps? :)
Jason