ppc64 biarch binutils configure uses different default "--target" than gcc, glibc

Nitin Kishore Gupta ngupta at mvista.com
Sat Feb 19 18:12:58 EST 2005

Thanks Alan.
I dont see that gcc,glibc are using --with-cpu=default32 in the scripts 
In that case, maybe I can switch the default for binutils to be powerpc64 
and enable powerpc.

----- Original Message ----- 
From: "Alan Modra" <amodra at bigpond.net.au>
To: "Nitin Gupta" <ngupta at mvista.com>
Cc: <linuxppc64-dev at ozlabs.org>
Sent: Friday, February 18, 2005 8:38 PM
Subject: Re: ppc64 biarch binutils configure uses different default 
"--target" than gcc,glibc

> On Fri, Feb 18, 2005 at 11:23:35AM -0800, Nitin Gupta wrote:
>> Hi,
>> I downloaded scripts to build ppc 970 biarch toolchain from
>> ftp://ftp.linuxppc64.org/pub/people/janis. I noticed that only binutils
>> uses default target (--target) to be powerpc-linux where as gcc,glibc
>> uses powerpc64-linux. Is there any reason for that? BTW. binutils has
>> --enable-targets=powerpc64-linux in its configure command
>> Please, let me know, if should  put this question at binutils mailing 
>> list.
> GCC biarch support wasn't designed well.  The 64-bit target of a pair,
> eg. (powerpc64-linux, powerpc-linux), (x86_64-linux, i686-linux) is the
> one you need to select when configuring, but you often don't want this
> to be the default target.  ie. you want 32-bit output by default.  On
> powerpc-linux, you'd do this by specifying --with-cpu=default32.
> binutils is a little more straight-forward, with the default target
> being specified from --target, and other targets by --enable-targets.
> -- 
> Alan Modra
> IBM OzLabs - Linux Technology Centre 

More information about the Linuxppc64-dev mailing list