[LLVMdev] Setting up a cross-compiler for cortex-m3

Renato Golin rengolin at systemcall.org
Sun Jul 22 14:12:06 PDT 2012


On 22 July 2012 22:03, salvatore benedetto
<salvatore.benedetto at gmail.com> wrote:
> While we are at it, if a new comer would like to understand where everything
> takes place, where should he look?
>
> I did a grep in the source and eventually ended up in clang/something/driver.

That's pretty much it: clang/lib/Driver

http://clang.llvm.org/doxygen/dir_20b6fcdbe5e465b3389293c5a4a7422f.html

However, don't ever assume that that code is correct, or good. It's a
big mess and should be refactored to avoid the ridiculous command line
you had to use, when a simple "-mcpu=cortex-m3" should suffice.

-- 
cheers,
--renato

http://systemcall.org/



More information about the llvm-dev mailing list