<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi<div><br></div><div>I am trying to use gccxml with homebrewed gcc4.9 on OS X 10.9.</div><div>Seems I am not able to build it. I don’t know if it’s a cmake problem or a gccxml problem</div><div>(or the way gcc is installed with homebrew).</div><div><br></div><div>Cmake was called with:</div><div><span style="font-family: Menlo; font-size: 11px;">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</span></div><div><br></div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-- Check size of unsigned short</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-- Check size of unsigned short - failed</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-- Check size of unsigned int</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-- Check size of unsigned int - failed</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-- Check size of unsigned long</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-- Check size of unsigned long - failed</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">CMake Error at /usr/local/Cellar/cmake/3.0.2/share/cmake/Modules/TestBigEndian.cmake:51 (message):</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  no suitable type found</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Call Stack (most recent call first):</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">  GCC/config_cmake/CMakeLists.txt:158 (TEST_BIG_ENDIAN)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-- Configuring incomplete, errors occurred!</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">See also "/Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeOutput.log".</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">See also "/Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeError.log".</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">make[2]: *** [gccxml/src/GCC_XML-stamp/GCC_XML-configure] Error 1</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">make[1]: *** [CMakeFiles/GCC_XML.dir/all] Error 2</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">make: *** [all] Error 2</div></div><div><br></div><div><br></div><div>Here are the CMakeError.log and CMakeOutput.log files.</div><div><br></div><div><a href="https://gist.github.com/iMichka/6761702a580681f92994">https://gist.github.com/iMichka/6761702a580681f92994</a></div><div><a href="https://gist.github.com/iMichka/f890a890a7acf4db15bf">https://gist.github.com/iMichka/f890a890a7acf4db15bf</a></div><div><br></div><div>I think the error is coming from: gcc-4.9: error: unrecognized command line option '-no-cpp-precomp’</div><div>Don’t know though where this flag is added ?</div><div><br></div><div>Thanks in advance</div><div><br></div><div>Michka</div><div><br></div></body></html>