[llvm-dev] LLVM cross compilation for arm target

Balasaheb Dabhade via llvm-dev llvm-dev at lists.llvm.org
Thu May 5 03:20:09 PDT 2016

Hello All,

I am building llvm-clang tool chain for *arm target* by following the steps

*However when I tried following cmake command for build tool chain it gives
the error message :*

#CC='clang' CXX='clang++' cmake -G Ninja /home/iiita/llvm-exp/llvm
armv7a-linux-gnueabihf -mcpu=cortex-a9
-I/usr/arm-linux-gnueabihf/include/ -mfloat-abi=hard -ccc-gcc-name

*error :*

CMake Error at cmake/modules/CheckCompilerVersion.cmake:38 (message):
  Host Clang must be able to find libstdc++4.7 or newer!
Call Stack (most recent call first):
  cmake/config-ix.cmake:14 (include)
  CMakeLists.txt:412 (include)

I have installed libstdc++4.7-dev library but still same issue is coming.

Does anyone know how to resolve this issue?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160505/ab9da3ae/attachment.html>

More information about the llvm-dev mailing list