This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] sparc-sun-solaris2.8 (cross) missing PATH_MAX
On Wed, Apr 28, 2004 at 02:10:30PM +0200, Eric Botcazou wrote:
> Do you mean that the directory
>
> /opt/gcc-3.4.0-cross/sparc-sun-solaris2.8/sparc-sun-solaris2.8/sys-include
>
> exists but is not found because of the way the path referring to it has been
> built?
Yes. Precisely.
> > I've examined the configury surrounding this, but it is not entirely clear
> > to me how to fix this :)
>
> How did you configure?
"The same as I have since 3.0.x." :) I've built cross compilers for
this target on this host this way for essentially the whole 3.x
series, and I have always seen configure copy the headers into place
as "step one" when building crosses. I remember reading somewhere
that this early installation-like step was a necessary evil.
Isn't the in the patch I sent in
<http://gcc.gnu.org/ml/gcc-patches/2004-04/msg01812.html> basically
what Dave Korn quoted from
<http://sources.redhat.com/ml/crossgcc/2001-05/msg00009.html> anyway?
My exact configure line in this case, for the record (from
config.status):
../../gcc-3.4.0/configure --with-dwarf2 --enable-languages=c,c++
--enable-threads=single --disable-shared
--prefix=/opt/gcc-3.4.0-cross/sparc-sun-solaris2.8 --with-gnu-as
--with-gnu-ld --disable-multilib --enable-concept-checks
--enable-clocale=generic --target=sparc-sun-solaris2.8
--with-headers=/hosts/bubbles/spencer/devel/gcc340/gcc-3.4.0/sparc-sun-solaris2.8/target-stuff/include/
--with-lib=/opt/gcc-3.4.0-cross/sparc-sun-solaris2.8/sparc-sun-solaris2.8/lib --with-gcc-version-trigger=/hosts/bubbles/spencer/devel/gcc340/gcc-3.4.0/gcc-3.4.0/gcc/version.c
I have since built crosses targeting sparc-sun-solaris2.8,
sparc64-sun-solaris2.8 and i386-pc-solaris2.8 with my patch and all is
well.
--
------------------------------------------------------------------
Brad Spencer - spencer@infointeractive.com - "It's quite nice..."
Systems Architect | InfoInterActive Corp. | A Canadian AOL Company