Re: link for building toolchain for ARM processor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mandeep Sandhu wrote:
On Tue, 2004-11-16 at 17:35, Momchil Velikov wrote:

Mandeep Sandhu wrote:

Hi,
Can anyone point me to a link on how to build a cross-compile
toolchain for ARM based systems (for kernel 2.6). Between is it
worth the effort building it from scratch or should I go for a
pre-built binary?

$GCC_SOURCE/configure --target=arm-elf --enable-lagnuages=c make && make install

Well, you do need binutils :)

$BINUTILS_SOURCE/configure --target=arm-elf
make && make install

and *then* build gcc.

For the kernel you do not need GLIBC. Besides, cross-compiling GLIBC is officially unsupported.

Now, if you need to compile for GNU/Linux for ARM hosted userspace you do need GLIBC, in which case you're SOL. Depending on your needs you can try uclibc, dietlibc or newlib instead.

~velco

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux