Displaying 3 results from an estimated 3 matches for "9d8586f9".
2018 Mar 12
0
Cross-compiling for ARM Cortex-M3 on x86
Hi,
On 12 March 2018 at 15:06, Son Tuan VU via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> But libc code is in ARM mode:
That's very bad, because Cortex-M doesn't support ARM mode. I think
your libc is broken.
> As you can see, the call to srand is just a bl (Branch with Link), not a blx
> (Branch with Link and Exchange instruction set), so I think something is
>
2018 Mar 12
2
Cross-compiling for ARM Cortex-M3 on x86
...ces in how GCC has been compiled that means
> your version defaults to Thumb mode anyway, but Clang doesn't.
>
> Cheers.
>
> Tim.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180312/9d8586f9/attachment.html>
2018 Mar 12
3
Cross-compiling for ARM Cortex-M3 on x86
Hi all,
I am trying to cross-compile my application for ARM Cortex-M3. Here's how
I'm doing it:
1, Get a pre-built GNU toolchain for ARM Cortex-M processors from
https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
2, Create an object file for ARM:
clang -c -target arm-none-eabi -mcpu=cortex-m3 -mthumb -O3 -g