You use arm-elf but the makefile references arm-none-eabi as a target, what is the correct one?dridri wrote:If you want to compile your own elfs/binaries (for example UVLoader) here a simple way to compile basic ARM (without any headers) :
Download binutils => http://ftp.gnu.org/gnu/binutils/binutils-2.22.tar.gz
and gcc-core => http://ftp.gnu.org/gnu/gcc/gcc-4.6.3/gc ... 6.3.tar.gz (I didn't find gcc-core of the last version)
You need a linux or cygwin installation that can compile gcc, then just follow these steps :Build binutils :
./configure --target=arm-elf --prefix=/usr/local/arm --program-prefix=arm-
make
edit: i went with the none-eabi target, for those using gentoo you can build a nice toolchain with:
Code: Select all
crossdev --target arm-none-eabi
Advertising