Problems getting cross compile environment working.

Todd Inglett tinglett at
Wed Mar 19 06:48:55 EST 2003

On Mon, 2003-03-17 at 15:57, Ryan Braby wrote:

> Doing this I've been able to build a 64 bit cross compiler, but I
> haven't
> managed to build the 32 bit cross compiler.  I keep getting errors like
> the
> following:
> .../../gcc-3.2.2/gcc/config/rs6000/linux.h:81:20: signal.h: No such file
> or directory
> .../../gcc-3.2.2/gcc/config/rs6000/linux.h:82:26: sys/ucontext.h: No
> such file or directory
> make[2]: *** [libgcc/./_muldi3.o] Error 1
> make[1]: *** [stmp-multilib] Error 2
> make: *** [all-gcc] Error 2

Last time I built a ppc32 cross compiler on x86 I had to tar up these
header files from a real ppc32 system.  Try using
--with-headers=/path/to/these/headers when you ./configure.

Hope that does it.


** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list