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 > [email protected] > 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/subscripti...@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 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
