Question about cross-compile for 1.5.1

Martinb_ARM_NOMMU_KISSDVD martinb at zeelandnet.nl
Wed May 30 20:56:44 UTC 2007


yes I am using busybox 1.5.1 on arm with crosscompiler<?xml:namespace prefix
= o ns = "urn:schemas-microsoft-com:office:office" />

I use the following "script" 

 

 make ARCH=arm CROSS_COMPILE=arm-uclinux-elf- EXTRA_CFLAGS="-D__uClinux__
-DBB_NOMMU" LDFLAGS="-Wl,-elf2flt" install

 

but I need to :

 

1- modify the makefile to disable "strip" (i cant use strip)

 

but most important is that I don't use the 2.95.3 (it will not work anymore)

i did find a buildscript to build a new crosscompiler based on 3.4.3

this crosscompiler also produce smaller bin files (+- 10% smaller) and works
ok

 

im using a kiss dvd player and working on a modified firmware b.t.w.

 

If you want I can send you the buildscript

 

Regards, Martinb
 
 -----Oorspronkelijk bericht-----
Van: busybox-bounces at busybox.net [mailto:busybox-bounces at busybox.net]Namens
Miller, Jeff (eng)
Verzonden: woensdag 30 mei 2007 22:30
Aan: busybox at busybox.net
Onderwerp: Question about cross-compile for 1.5.1



I am still tracking it down but it looks like the ability to specify a cross
compiler and compiler options fell out of "make menuconfig" sometime after
1.2.  I would like to use 1.5.1 and have been trying to use the ARCH and
CROSS_COMPILE environment variables in my environment and on the command
line but I am getting poor results.  I seem to be able to get my arm 2.95.3
arm compiler to get invoked but without any include paths or other compiler
options.  When the compiler gets invoked I then get several errors from
include files about various defines not being defined.

I also tried to copy the USING_CROSS_COMPILER=y,
CROSS_COMPILER_PREFIX="arm-linux-", and EXTRA_CFLAGS_OPTIONS= settings from
my older .config file but the 1.5.1 Makefile apparently runs config again
and config chokes on them.

Is there something I am missing with regard to specifying cross development
environments?  Has anybody been successful getting 1.5.1 to cross compile
for an arm?

Jeff 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5728 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070530/62e145fe/attachment-0002.bin 


More information about the busybox mailing list