[LLVMdev] A question to LLVM for ARMv6
Evgeny Astigeevich
evgeny.astigeevich at arm.com
Thu Mar 5 02:03:54 PST 2015
Hi Steven,
On the following page I can find how to build cross-compiling clang/llvm and
what packages you will need for the ARM cross-compilation:
http://llvm.org/docs/HowToCrossCompileLLVM.html
On the following page you can read about cross-compilation using clang:
http://clang.llvm.org/docs/CrossCompilation.html
For example, compiling for Cortex-M0 (armv6-m):
clang --target=armv6m-arm-none-eabi -mcpu=cortex-m0 t.c
Kind regards,
Evgeny
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of qiuw at ichaier.com
Sent: 05 March 2015 03:53
To: llvmdev
Subject: [LLVMdev] A question to LLVM for ARMv6
Hi, all
I want to use LLVM to compile an ARM Cortex-M0 project on windows. Who can
send me a sample, including command arguments and introdution about debug
process. Thanks a lot.
-Steven
***************************** Legal Disclaimer *****************************
"This email may contain confidential and privileged material for the sole
use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message in error,
please advise the sender by reply email and delete the message. Thank you."
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list