[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    RE: Question about cross-compile for 1.5.1
From:       "Miller, Jeff (eng)" <Jeff.Miller () adc ! com>
Date:       2007-05-31 12:55:17
Message-ID: 5792D2F8C9A6134BBB5363709C83B237020ED1E1 () mn01exch02 ! adc ! com
[Download RAW message or body]

--===============1089835277==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C7A382.F087C23F"

This is a multi-part message in MIME format.


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: busybox-bounces@busybox.net [mailto:busybox-bounces@busybox.net]
On Behalf Of Miller, Jeff (eng)
Sent: Wednesday, May 30, 2007 3:30 PM
To: busybox@busybox.net
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 


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Question about cross-compile for 1.5.1</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=972505012-31052007>Mike and Martinb,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=972505012-31052007></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=972505012-31052007>Thanks for the responses.&nbsp; 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.&nbsp; The additional assertion that my 2.95.3 compiler being too 
old is further supported by other searches related to the "without args" 
error.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=972505012-31052007></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=972505012-31052007>Time for me to upgrade compilers and possibly linux if 
I want to take advantage of 1.5.1 busybox.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=972505012-31052007></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=972505012-31052007>Thanks again for the help.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=972505012-31052007></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=972505012-31052007>Jeff</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> busybox-bounces@busybox.net 
[mailto:busybox-bounces@busybox.net] <B>On Behalf Of </B>Miller, Jeff 
(eng)<BR><B>Sent:</B> Wednesday, May 30, 2007 3:30 PM<BR><B>To:</B> 
busybox@busybox.net<BR><B>Subject:</B> Question about cross-compile for 
1.5.1<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>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.&nbsp; 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.&nbsp; 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.&nbsp; When the compiler gets invoked I then get 
several errors from include files about various defines not being 
defined.</FONT></P>
<P><FONT face=Arial size=2>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.</FONT></P>
<P><FONT face=Arial size=2>Is there something I am missing with regard to 
specifying cross development environments?&nbsp; Has anybody been successful 
getting 1.5.1 to cross compile for an arm?</FONT></P>
<P><FONT face=Arial size=2>Jeff</FONT> </P></BODY></HTML>


_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
--===============1089835277==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic