$(build_tooldir)/lib (was Re: http://gcc.gnu.org/ml/gcc-patches/2000-05/msg01104.html)

Jason Merrill jason@redhat.com
Fri Jul 21 21:53:00 GMT 2000


>>>>> 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


More information about the Gcc-patches mailing list