gt-c-pragma.h:46: parse error before `__attribute__'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
I am getting an error while compiling gcc -4.0.3

bt0puk:/home/mekici/gcc> uname -a


SunOS bt0puk 5.8 Generic_117350-08 sun4u sparc
bt0puk:/home/mekici/gcc> ./gcc-4.0.3/configure --prefix=/home/mekici/gcc
--target=mips --disable-threads --with-newlib --disable-shared
--enable-languages=c --with-stabs --nfp --with-gnu-as --with-gnu-l

gcc -c   -g -O2  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes     -DHAVE_CONFIG_H -I. -I.
-I.././gcc-4.0.3/gcc -I.././gcc-4.0.3/gcc/. -I.././gcc-4.0.3/gcc/../include
-I./../intl -I.././gcc-4.0.3/gcc/../libcpp/include
.././gcc-4.0.3/gcc/c-pragma.c -o c-pragma.o
In file included from .././gcc-4.0.3/gcc/c-pragma.c:707:
gt-c-pragma.h:46: parse error before `__attribute__'
make[1]: *** [c-pragma.o] Error 1
make[1]: Leaving directory `/home/mekici/gcc/gcc'
make: *** [all-gcc] Error 2
bt0puk:/home/mekici/gcc> vi .././gcc-4.0.3/gcc/c-pragma.c
".././gcc-4.0.3/gcc/c-pragma.c" [New file]




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux