R: [BusyBox] cross compiling

Sanges Michele Michele.Sanges at otomelara.it
Thu May 6 13:19:25 UTC 2004



> -----Messaggio originale-----
> Da: Wolfgang Denk [mailto:wd at denx.de]
> Inviato: mercoledì 5 maggio 2004 10.16
> A: Sanges Michele
> Cc: busybox at busybox.net
> Oggetto: Re: [BusyBox] cross compiling 
> 

> -> wget http://busybox.net/downloads/busybox-1.00-pre10.tar.bz2
> -> tar jxf busybox-1.00-pre10.tar.bz2
> -> cd busybox-1.00-pre10
> -> make config
> ...
> Do you want to build BusyBox with a Cross Compiler? 
> (USING_CROSS_COMPILER) [N/y/?] y
>   Cross Compiler prefix (CROSS_COMPILER_PREFIX) 
> [/usr/i386-linux-uclibc/bin/i386-uclibc-] (NEW) ppc_8xx-
> ...
> -> make
> 
> 
> Where exactly is your problem?


Using a gcc cross compiler, from i386 to ppc target, in many network files (for example 'nslookup.c', 'inetd.c', ....) I obtain the following errors:
- can't find a register in class 'MQ_REGS' while reloading 'asm'
- Unrecognized opcode: 'rorw', 'rorl'.

Is the problem that my gcc is bad configured?
Thanks.

Michele




More information about the busybox mailing list