error cross-compiling to ARM
Tito
farmatito at tiscali.it
Sat Aug 28 12:19:08 UTC 2010
On Saturday 28 August 2010 12:47:45 Salim Tyrewala wrote:
> Hi,
>
> I'm new to busybox. I'm having trouble cross-compiling busybox to ARM
> using arm-elf-gcc. It doesn't find some include files byteswap.h for
> instance.
>
> I can compile natively just fine using native gcc.
>
> I'm not sure what is happening differently when I cross-compile. Why
> isn't the include path include /usr/include where it should find all
> the headers?
>
> I think I'm doing something stupid. Please help!
>
> thanks,
> Salim
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>
Hi,
this usually works for me:
1) go to Codesourcery.com web site and download compiler at
http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite
2) extract to some folder
3) configure busybox
make ARCH=arm CROSS_COMPILE=../arm-2008q1/bin/arm-none-linux-gnueabi- menuconfig
4) compile busybox
make ARCH=arm CROSS_COMPILE=../arm-2008q1/bin/arm-none-linux-gnueabi-
Hope it helps.
Tito
More information about the busybox
mailing list