[GCC-XML] Compiling gccxml with homebrewed gcc4.9
michkapopoff at gmail.com
michkapopoff at gmail.com
Sat Oct 18 16:56:12 EDT 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20141018/38676c5a/attachment.html>
More information about the gccxml
mailing list