Hi,<br><br>I'm building GCC-XML and I followed the instructions in the Readme file and cmake choked. <br><br>Running on Windows XP SP2 with a recent Cygwin (downloaded and installed today).<br><br>Any clues?<br><br>Thanks.<br>
<br>-------------------<br><br>$ cmake ../gccxml -DCMAKE_INSTALL_PREFIX:PATH=/utils<br><br>... many lines that look fine to (ran out of buffer in the session)<br><br>-- Looking for declaration of strstr<br>-- Looking for declaration of strstr - found<br>
-- Looking for declaration of errno<br>-- Looking for declaration of errno - found<br>-- Looking for declaration of asprintf<br>-- Looking for declaration of asprintf - found<br>-- Looking for declaration of vasprintf<br>
-- Looking for declaration of vasprintf - found<br>-- Looking for declaration of malloc<br>-- Looking for declaration of malloc - found<br>-- Looking for declaration of realloc<br>-- Looking for declaration of realloc - found<br>
-- Looking for declaration of calloc<br>-- Looking for declaration of calloc - found<br>-- Looking for declaration of free<br>-- Looking for declaration of free - found<br>-- Looking for declaration of basename<br>-- Looking for declaration of basename - not found<br>
-- Looking for declaration of getopt<br>-- Looking for declaration of getopt - not found<br>-- Looking for declaration of clock<br>-- Looking for declaration of clock - found<br>-- Looking for declaration of getrlimit<br>
-- Looking for declaration of getrlimit - found<br>-- Looking for declaration of setrlimit<br>-- Looking for declaration of setrlimit - found<br>-- Looking for declaration of getrusage<br>-- Looking for declaration of getrusage - found<br>
-- Looking for declaration of ldgetname<br>-- Looking for declaration of ldgetname - not found<br>-- Looking for declaration of sigaltstack<br>-- Looking for declaration of sigaltstack - not found<br>-- Looking for declaration of getpagesize<br>
-- Looking for declaration of getpagesize - found<br>-- Looking for declaration of times<br>-- Looking for declaration of times - not found<br>-- Checking for struct tms<br>-- Checking for struct tms - found<br>-- Checking for clock_t<br>
-- Checking for clock_t - found<br>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<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess: line 6: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess: line 8: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess: line 28: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess: line 29: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess: line 40: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess: line 42: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess: line 54: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess: line 64: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess: line 67: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess: line 70: syntax error near unexpected token `$'in\r''<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.guess: line 7': `  case $1 in<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 6: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 8: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 32: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 33: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 41: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 49: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 56: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 58: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 71: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 80: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 83: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 86: syntax error near unexpected token `$'in\r''<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/config.sub: line 86:'`  case $1 in<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build: line 4: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build: line 6: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build: line 11: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build: line 16: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build: line 21: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build: line 27: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build: line 30: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build: line 45: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build: line 51: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build: line 53: syntax error near unexpected token `$'in\r''<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.build: li'e 53: `case $build in<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: line 4: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: line 6: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: line 11: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: line 16: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: line 21: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: line 27: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: line 30: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: line 59: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: line 63: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: line 74: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: line 77: syntax error near unexpected token `$'in\r''<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.host: lin' 77: `case ${host} in<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 4: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 6: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 11: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 16: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 21: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 27: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 51: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 146: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 152: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 181: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 185: $'\r': command not found<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 189: $'\r': command not found<br>
/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line 191: syntax error near unexpected token `$'in\r''<br>/cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml/GCC/gcc/config.gcc: line'191: `case ${target} in<br>
-- Checking whether header cstdio is available<br>-- Checking whether header cstdio is available - yes<br>-- Checking for Large File Support<br>-- Checking for Large File Support - no<br>-- Checking whether STL classes are in std namespace<br>
-- Checking whether STL classes are in std namespace - yes<br>-- Checking whether ANSI stream headers are available<br>-- Checking whether ANSI stream headers are available - yes<br>-- Checking whether ANSI streams are in std namespace<br>
-- Checking whether ANSI streams are in std namespace - yes<br>-- Checking whether ANSI string stream is available<br>-- Checking whether ANSI string stream is available - yes<br>-- Checking whether header cstddef is available<br>
-- Checking whether header cstddef is available - yes<br>-- Checking whether stl string has operator!= for char*<br>-- Checking whether stl string has operator!= for char* - yes<br>-- Checking whether stl has iterator_traits<br>
-- Checking whether stl has iterator_traits - yes<br>-- Checking whether stl has standard template allocator<br>-- Checking whether stl has standard template allocator - yes<br>-- Checking for rebind member of stl allocator<br>
-- Checking for rebind member of stl allocator - yes<br>-- Checking for non-standard argument to stl allocator<>::max_size<br>-- Checking for non-standard argument to stl allocator<>::max_size - no<br>-- Checking whether stl containers support allocator objects.<br>
-- Checking whether stl containers support allocator objects. - yes<br>-- Checking whether "<>" is needed for template friends<br>-- Checking whether "<>" is needed for template friends - yes<br>
-- Checking for member template support<br>-- Checking for member template support - yes<br>-- Checking for standard template specialization syntax<br>-- Checking for standard template specialization syntax - yes<br>-- Checking whether argument dependent lookup is supported<br>
-- Checking whether argument dependent lookup is supported - yes<br>-- Checking whether struct stat has st_mtim member<br>-- Checking whether struct stat has st_mtim member - yes<br>-- Checking whether C compiler has ptrdiff_t in stddef.h<br>
-- Checking whether C compiler has ptrdiff_t in stddef.h - yes<br>-- Checking whether C compiler has ssize_t in unistd.h<br>-- Checking whether C compiler has ssize_t in unistd.h - yes<br>-- Configuring done<br>CMake Error in GCC/gcc/CMakeLists.txt:<br>
  Cannot find source file ".c".  Tried extensions .c .C .c++ .cc .cpp .cxx .m<br>  .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx<br><br><br>-- Build files have been written to: /cygdrive/c/Perforce/Archive/h2xml/gccxml-source/gccxml-build<br>
<br clear="all">---<br>gooli<br>