Errors issued while building GCC

Ankur Gupta ankurgupta@acmet.com
Wed Nov 28 10:12:00 GMT 2007


Hello,

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:

--cut--
../.././gcc/config/mips/mips.md:3318:5: missing terminating " character
../.././gcc/config/mips/mips.md:3319: error: stray '\' in program
../.././gcc/config/mips/mips.md:3319: error: syntax error before "n"
../.././gcc/config/mips/mips.md:3321: error: stray '\' in program

....
....

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

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++ --
prefix=<GCC-installation-location>

<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