[csw-users] Compiling gcc from SUNWspro
Thomas Jordan
Thomas.Jordan at Sun.COM
Thu Aug 26 17:57:06 CEST 2004
try adding
-xc99=%none
to your CFLAGS
Suresh Rajagopalan wrote:
> This is not a strictly blastwave question, but I hope someone has
> encountered this:
>
> In compiling gcc/3.3.3 from SUNWspro on Solaris 10, I am getting the
> following error. Is there a compiler flag setting to SUNWspro that fixes this?
>
> Thanks
> Suresh
>
>
> make[1]: Entering directory
> `/usr/local/src/dist/gcc-sol/gcc-3.3.3/libiberty'
> if [ x"" != x ]; then \
> cc -c -DHAVE_CONFIG_H -g -I. -I./../include sigsetmask.c -o
> pic/sigsetmask.o; \
> else true; fi
> cc -c -DHAVE_CONFIG_H -g -I. -I./../include sigsetmask.c -o sigsetmask.o
> "/usr/include/sys/feature_tests.h", line 330: #error: "Compiler or options
> invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX
> applications"
> cc: acomp failed for sigsetmask.c
> make[1]: *** [sigsetmask.o] Error 2
> make[1]: Leaving directory
> `/usr/local/src/dist/gcc-sol/gcc-3.3.3/libiberty'
> make: *** [all-libiberty] Error 2
>
>
> _______________________________________________
> users mailing list
> users at lists.blastwave.org
> https://lists.blastwave.org/mailman/listinfo/users
More information about the users
mailing list