This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PATH_MAX missing cross building gmon-sol2.c
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: gcc at gcc dot gnu dot org
- Cc: Jay <jayk123 at hotmail dot com>
- Date: Sun, 15 Jun 2008 18:52:29 +0200
- Subject: Re: PATH_MAX missing cross building gmon-sol2.c
- References: <BAY139-W250BD86CCA596B3735B42BE6AE0@phx.gbl>
> I am crossing from i686-cygwin to sparc-solaris (my Sun cc won't compile
> gcc due to macros with empty parameters like in c-common.c):
>
> /src/gcc-4.3.1/gcc/config/sparc/gmon-sol2.c: In function '_mcleanup':
> /src/gcc-4.3.1/gcc/config/sparc/gmon-sol2.c:182: error: 'PATH_MAX'
> undeclared (first use in this function)
> /src/gcc-4.3.1/gcc/config/sparc/gmon-sol2.c:182: error: (Each undeclared
> identifier is reported only once
> /src/gcc-4.3.1/gcc/config/sparc/gmon-sol2.c:182: error: for each function
> it appears in.) /src/gcc-4.3.1/gcc/config/sparc/gmon-sol2.c:182: warning:
> unused variable 'buf' make[3]: ***
> [/cygdrive/d/obj/cross-gcc/sparc-solaris/libgcc/gmon.o] Error 1 make[3]:
> Leaving directory `/cygdrive/d/obj/cross-gcc/gcc'
> make[2]: *** [gcc-extra-parts] Error 2
>
> Could be my /usr/local/sparc-solaris/include is old.
Or a configuration problem, see PR target/28097.
--
Eric Botcazou