Fwd: Problems getting cross compile environment working.
Ryan Braby
braby1 at llnl.gov
Wed Mar 19 03:51:58 EST 2003
Hi,
Please disregard the below. I was able to pull the headers out of a
mandrake ppc rpm and complete the build of the cross compiler.
Thanks,
Ryan
Begin forwarded message:
> From: Ryan Braby <braby1 at llnl.gov>
> Date: Mon Mar 17, 2003 1:57:48 PM US/Pacific
> To: linuxppc64-dev at lists.linuxppc.org
> Subject: Problems getting cross compile environment working.
>
> Hello,
>
> I've been trashing around for a few days now trying to get a cross
> compile
> environment working to build a powerpc64 linux kernel under Mac OS X.
>
> I've been following this script as instructions:
> http://www.samba.org/~anton/ppc64_crosscompiler/buildit
>
> 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
>
> I've done a lot of searching on mailing lists and on the web for the
> solution,
> but haven't found a satisfactory answer yet.
>
> It appears that perhaps the issue is a requirement for some glibc
> headers for
> the target platform (powerpc-linux). However, as I understand it,
> cross compiling
> glibc requires that you have a working cross compiler. How would one
> go about
> getting the required headers? Is there a simpler solution that I'm
> missing?
>
> Thanks,
> Ryan Braby
>
> P.S. Anton thanks for making your patches and the buildit script
> available.
>
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list