[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 64-bit PowerPC cross-compilation



On Sat, Jul 16, 2011 at 5:18 AM, Hector Oron <hector.oron@gmail.com> wrote:
>> kernel/bounds.c:1: error: -m64 not supported in this configuration
>
> $ powerpc-linux-gnu-gcc-4.4 -print-multi-lib
> .;
>
> Due to some build problems during release, some toolchains are not
> multilib capable. Maybe try to build multilib one following the steps
> at
>  <http://wiki.debian.org/EmdebianToolchain#Build_your_own_from_sources>
> might work today, but I do not really know.

I rebuilt gcc-4.4_4.4.5-8 with GCC_TARGET=powerpc DEB_CROSS=yes (no
DEB_CROSS_NO_BIARCH=yes), it built without a problem, and I just
finished compiling a PPC64 kernel.  Excellent, thanks for the info.

$ powerpc-linux-gnu-gcc-4.4 -print-multi-lib
.;@fPIC@mstrict-align
64;@m64@fPIC@mstrict-align

RF


Reply to: