<div dir="ltr"><div><div><span style="font-family:georgia,serif">Hello All,<br></span></div><div><span style="font-family:georgia,serif"><br></span></div><div><span style="font-family:georgia,serif">I am building llvm-clang tool chain for <b>arm target</b> by following the steps from <br></span></div><span style="font-family:georgia,serif"><a href="http://clang.llvm.org/docs/CrossCompilation.html">http://clang.llvm.org/docs/CrossCompilation.html</a><br></span></div><div><span style="font-family:georgia,serif"><br></span></div><span style="font-family:georgia,serif"><b>However when I tried following cmake command for build tool chain it gives the error message :</b><br><br>#CC='clang' CXX='clang++' cmake -G Ninja /home/iiita/llvm-exp/llvm -DCMAKE_CROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=/home/iiita/llvm-exp/llvm/build -DLLVM_TABLEGEN=/usr/bin/host/llvm-tblgen -DCLANG_TABLEGEN=/usr/bin/host/clang-tblgen -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf -DLLVM_TARGET_ARCH=ARM -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CXX_FLAGS='-target armv7a-linux-gnueabihf -mcpu=cortex-a9 -I/usr/arm-linux-gnueabihf/include/c++/4.7.1/arm-linux-gnueabihf/ -I/usr/arm-linux-gnueabihf/include/ -mfloat-abi=hard -ccc-gcc-name arm-linux-gnueabihf-gcc' <br><br><br></span><div><div><span style="font-family:georgia,serif"><b>error :</b><br><br>CMake Error at cmake/modules/CheckCompilerVersion.cmake:38 (message):<br>  Host Clang must be able to find libstdc++4.7 or newer!<br>Call Stack (most recent call first):<br>  cmake/config-ix.cmake:14 (include)<br>  CMakeLists.txt:412 (include)<br><br></span></div><div><span style="font-family:georgia,serif">I have installed </span><span style="font-family:georgia,serif">libstdc++4.7-dev library but still same issue is coming.<br><br></span></div><div><span style="font-family:georgia,serif">Does anyone know how to resolve this issue?<br><br></span></div><div><span style="font-family:georgia,serif">Thanks,<br></span></div><div><span style="font-family:georgia,serif">Bala</span><span style="font-family:monospace,monospace"><br></span></div><div><br><br></div></div></div>