PR/17383: fix gcc in-srcdir build (take 2)

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Sat Feb 26 23:36:00 GMT 2005


The attached patch creates the host-subdir only if gcc is found in the
tree.  It is even a bit simpler than the original because the topdir is
found more easily, replacing with .. every element of the path from the
topdir to the builddirs.

It has passed in-srcdir and out-of-srcdir builds of gcc (all languages,
powerpc-apple-darwin7.8.0) and binutils+gdb (i686-pc-linux-gnu).  Ok for
gcc/src?

Paolo

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-pr17383-3.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050226/eeb1feb4/attachment.ksh>


More information about the Gcc-patches mailing list