[GCC-XML] Failed when building on Cygwin
brad.king at kitware.com
Thu Aug 6 14:11:28 EDT 2009
Eli Golovinsky wrote:
> I'm building GCC-XML and I followed the instructions in the Readme file
> and cmake choked.
> running /usr/bin/sh.exe
> "/usr/bin/cmake.exe" 2>&1
> line 6: $'\r': command not found
Here CMake is running gcc's platform identification shell script.
The cygwin shell does not like windows-style newlines (CRLF==\r\n).
Somehow that config.guess file ended up with windows newlines.
How did you obtain the source?
What does cygwin's "mount" tool report for its location
(textmode or binmode)?
More information about the gccxml