Eli Golovinsky wrote:
> I'm building GCC-XML and I followed the instructions in the Readme file
> and cmake choked.
[snip]
> running /usr/bin/sh.exe
> "/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config_cmake/gcc_platform.sh"
> "/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml-build/GCC/config_cmake/gcc_platform.cmake"
> "/usr/bin/cmake.exe"  2>&1
> /cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess:
> 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)?

-Brad
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.gccxml.org/mailman/listinfo/gccxml

Reply via email to