Displaying 4 results from an estimated 4 matches for "at91sam7x256".
2010 Jan 09
2
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Dear Anton,
Thanks for your help!
I had a look to llvm (2.6) configure options but I couldn't find any
way to specify cpu type, fpu ecc..Could you please give me any
indication and/or example? I want to try llvm with Atmel's
AT91SAM7X256 (core is ARM7TDMI )
Thank you again,
pz
2010/1/9 Anton Korobeynikov <anton at korobeynikov.info>:
> Hello
>
>> But I got the followings errors:
>>
>> /var/folders/7f/7fiRIEm-FruFfT7mGbk3uk+++TI/-Tmp-//ccDFjySd.s:
>> Assembler messages:
>> /var/folders/7...
2010 Jan 09
0
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Hello
> But I got the followings errors:
>
> /var/folders/7f/7fiRIEm-FruFfT7mGbk3uk+++TI/-Tmp-//ccDFjySd.s:
> Assembler messages:
> /var/folders/7f/7fiRIEm-FruFfT7mGbk3uk+++TI/-Tmp-//ccDFjySd.s:96:
Correct. You haven't specified any ARM specific stuff during llvm-gcc
conffigure (cpu type, fpu type, floating point abi, etc). This means
that default will be used. LLVM defaults to
2010 Jan 10
0
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
...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
2010 Jan 09
2
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Dear ML,
I'm trying to understand how to build a llvm (2.6) cross compiler for
arm-elf target using the gcc frontend with newlib. Could you please
indicate, if possible steps I should follow?
I try to configure and build llvm with
../llvm-2.6/configure
--prefix=/usr/local/cross-llvm-gcc-arm-elf-4.2-2.6 --enable-optimized
--disable-threads --enable-targets=cbe,cpp,arm
and LLVM-GCC frontend