Use LLVM to cross compile program for Hikey


#1

Hi,
I want to cross compile my application using LLVM compiler for Linux running on a Hikey board. What are the correct flags that should be used when compiling the program?

For example (https://stackoverflow.com/questions/14697614/clang-cross-compiling-for-arm):
To cross-compile for Raspberry Pi running soft-float Linux distros add flags -ccc-host-triple arm-eabi -marm -mfpu=vfp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=softfp

Thanks.