powerpc allnoconfig

Peter Bergner bergner at vnet.ibm.com
Wed Mar 4 06:05:31 EST 2009


On Tue, 2009-03-03 at 08:56 -0800, Andrew Morton wrote:
> On Tue, 3 Mar 2009 11:14:04 +0100 (CET) Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com> wrote:
> 
> > > > let us know if that works :-)
> > > 
> > > didn't.  Oh well.
> > 
> > Does allnoconfig work if you force the compiler to be 32-bit, like
> > 
> >     make CC="powerpc64-unknown-linux-gnu-gcc -m32"
> 
> Nope:
> 
> scripts/mod/empty.c:1: error: -m64 requires a PowerPC64 cpu

To build a biarch compiler that defaults to 32-bit, try adding the
option --with-cpu=default32 to your GCC configure options.  You also
shouldn't need --enable-targets=all.  We haven't used that option
for ages when building powerpc64-linux enabled GCCs.

Peter







More information about the Linuxppc-dev mailing list