[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5

Anton Korobeynikov anton at korobeynikov.info
Sat Jan 9 16:43:30 PST 2010


Hello, Pazzo

> I had a look to llvm (2.6) configure options but I couldn't find any
> way to specify cpu type, fpu ecc..
These are not llvm configure options, but gcc's one. Basically, you
should configure llvm-gcc in the same way you do for gcc for your
platform.

> Could you please give me any
> indication and/or example? I want to try llvm with Atmel's
> AT91SAM7X256 (core is  ARM7TDMI )
I think adding --with-cpu=arm7tdmi to llvm-gcc configure should work

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list