[asterisk-dev] Cross-compiling for embedded platforms using openWRT

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Dec 30 16:59:58 MST 2006


On Sat, Dec 30, 2006 at 04:20:19PM -0500, Russell Bryant wrote:
> Brian Capouch wrote:
> >The second thing is the way the menuselect process works; the menuselect 
> >app is compiled and run at configure time.  In this cross-compile 
> >environment, it compiles menuselect for the MIPSEL CPU and then tries to 
> >execute it on my host (Intel) box. The workaround is to go in and 
> >manually build and run menuselect on the host machine, and then continue 
> >with the cross-build.
> 

Did you follow the standard procedure for cross-compiling? How did you
run configure?

> This one should be easy to fix.  Could you please try changing all 
> instances of "$(CC)" in menuselect/Makefile, and replace them with 
> "$(HOST_CC)" ?  Let me know if that fixes this for you.

Isn't that HOSTCC ?


-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-dev mailing list