Hi I am trying to use gccxml with homebrewed gcc4.9 on OS X 10.9. Seems I am not able to build it. I don’t know if it’s a cmake problem or a gccxml problem (or the way gcc is installed with homebrew).
Cmake was called with: cmake -DCMAKE_CXX_COMPILER=/usr/local/Cellar/gcc/4.9.1/bin/g++-4.9 -DCMAKE_C_COMPILER=/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -- Check size of unsigned short -- Check size of unsigned short - failed -- Check size of unsigned int -- Check size of unsigned int - failed -- Check size of unsigned long -- Check size of unsigned long - failed CMake Error at /usr/local/Cellar/cmake/3.0.2/share/cmake/Modules/TestBigEndian.cmake:51 (message): no suitable type found Call Stack (most recent call first): GCC/config_cmake/CMakeLists.txt:158 (TEST_BIG_ENDIAN) -- Configuring incomplete, errors occurred! See also "/Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeOutput.log". See also "/Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeError.log". make[2]: *** [gccxml/src/GCC_XML-stamp/GCC_XML-configure] Error 1 make[1]: *** [CMakeFiles/GCC_XML.dir/all] Error 2 make: *** [all] Error 2 Here are the CMakeError.log and CMakeOutput.log files. https://gist.github.com/iMichka/6761702a580681f92994 https://gist.github.com/iMichka/f890a890a7acf4db15bf I think the error is coming from: gcc-4.9: error: unrecognized command line option '-no-cpp-precomp’ Don’t know though where this flag is added ? Thanks in advance Michka
_______________________________________________ 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://public.kitware.com/mailman/listinfo/gccxml