[LLVMdev] Cross-compiling for cortex-m3: how do I get ride of -ccc-gcc-name ? (original) (raw)
salvatore benedetto salvatore.benedetto at gmail.com
Sat Jul 28 08:05:00 PDT 2012
- Previous message: [LLVMdev] Vector promotion broken for <2 x [i8|i16]>
- Next message: [LLVMdev] Cross-compiling for cortex-m3: how do I get ride of -ccc-gcc-name ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there,
I'm using clang to cross compile for cortex-m3. I eventually managed to do so with
clang++ -ccc-gcc-name arm-none-linux-gnueabi-g++ -ccc-host-triple thumbv7m-none-gnueabi source.cpp -c -mcpu=cortex-m3
I would like to understand what -ccc-gcc-name does exactly and how can I get ride of it?
From what I understand, it's needed by the driver in order to find the binutils for calling the assembler and the linker. Is that correct?
After some grep'ing I ended up in gcc::Common::ConstructJob, where the option value is retrieved, but I'm not sure how does it fit with the rest.
How else can I tell llvm where to look for binutils?
Hope someone can save me a few hours around the codebase with some insights.
Regards, Salvatore
- Previous message: [LLVMdev] Vector promotion broken for <2 x [i8|i16]>
- Next message: [LLVMdev] Cross-compiling for cortex-m3: how do I get ride of -ccc-gcc-name ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]