Mike and Martinb,
 
Thanks for the responses.  The addition of EXTRA_CFLAGS (not
EXTRA_CFLAGS_OPTIONS) allowed my compiler to start building but
additional errors continued including an ultimate failure when trying to
compile libbb/xatonum.c in which I got fatal errors about macros being
used without args.  The additional assertion that my 2.95.3 compiler
being too old is further supported by other searches related to the
"without args" error.
 
Time for me to upgrade compilers and possibly linux if I want to take
advantage of 1.5.1 busybox.
 
Thanks again for the help.
 
Jeff

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Miller, Jeff (eng)
Sent: Wednesday, May 30, 2007 3:30 PM
To: [email protected]
Subject: 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 

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to