Errors issued while building GCC

Ankur Gupta
Wed Nov 28 10:12:00 GMT 2007


I am newly assigned to GNU CC work. I am using Win-xp-sp2 and Cygwin to
build GCC. I have successfully installed the 'binutils', but while building
GCC below errors are being issued:

../.././gcc/config/mips/ missing terminating " character
../.././gcc/config/mips/ error: stray '\' in program
../.././gcc/config/mips/ error: syntax error before "n"
../.././gcc/config/mips/ error: stray '\' in program


../.././gcc/config/mips/ error: initializer element is not
../.././gcc/config/mips/ error: (near initialization for
make[1]: *** [build/insn-conditions.o] Error 1
make[1]: Leaving directory `/home/gcc/host-i686-pc-cygwin/gcc'
make: *** [all-gcc] Error 2

I am using below procedure to build GCC:

1. Configure the GCC by giving the following command in the directory where
GCC package is placed. 

$ ./configure --target='mipsisa32-elf' --enable-languages=c,c++ --

<GCC-installation-location> is the path where GCC package is to be
installed. I am using /usr/local/bin for this.

2. Build the GCC package by

$ make all-gcc

3. Install the GCC package by:

$ make install-gcc

Please help me in rectifying these issues. 

Thanks and Regards
Ankur Gupta
Software Engineer
ACME Technologies Pvt. Ltd...
Noida, India

More information about the Gcc-bugs mailing list