search for: arm_gcc_toolchain

Displaying 2 results from an estimated 2 matches for "arm_gcc_toolchain".

2018 Feb 23
2
Cross-compiling for ARM Cortex-A9 on x86
Hello list, I have some problems using LLVM version 3.8.0 to cross-compile code for ARM Cortex-A9 on x86. I am trying to generate LLVM IR using Clang: clang -S --emit-llvm --target=armv7a-linux-gnueabihf --sysroot=$(ARM_SYSROOT) --gcc-toolchain=$(ARM_GCC_TOOLCHAIN) -c -o translated.ll But somehow clang it is trying to use soft-float and I get the following error: 'gnu/stubs-soft.h' file not found Is there any way I can specify to use hard floating point? I have tried -mfloat-abi=hard but Clang does not recognize it. Please, let me know if there i...
2018 Feb 26
0
Cross-compiling for ARM Cortex-A9 on x86
Hello Irune, I tried to reproduce your command line options on a simple c file containing some floating point instructions using the clang-3.8 binary I have on my Ubuntu 16.04 machine with ARM_SYSROOT and ARM_GCC_TOOLCHAIN configured to point at a Linaro Hard float toolchain and clang used the hard float abi as expected. My clang-3.8 also accepted -mfloat-abi=hard. With my gcc toolchain the gnu/stubs-soft.h file is included from gnu/stubs.h when __ARM_PCS_VFP is not defined. With this in mind the only things I can...