On 28 November 2007 10:29, Ankur Gupta wrote: > 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:
These kinds of minor issues in building or using the compiler really belong on the gcc-help list; this list is intended for ongoing development work on the internals of the compiler itself. However, since you're here... > --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 I believe you have got stray CR-LF line endings on your source code; this is a fairly common problem on Cygwin if you use a non-Cygwin gui program such as WinZIP etc. to unpack the GCC source archive. If that's what you did, don't: windows GUIs tend to want to convert LF line endings to CR-LF. Use Cygwin's 'tar' utility to unpack the archive instead, like so tar xvjf gcc-${ver}.tar.bz2 (or use 'tar xvzf' if you are unpacking a .tar.gz file instead). If it's not because you used a gui to unpack the tarball, it's probably because you're using text-mode mountpoints; come and discuss it on the cygwin list if so. cheers, DaveK -- Can't think of a witty .sigline today....