This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
<> basically
what Dave Korn quoted from
<> anyway? 

My exact configure line in this case, for the record (from

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

Brad Spencer - - "It's quite nice..."
Systems Architect | InfoInterActive Corp. | A Canadian AOL Company

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]