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

Alan Modra amodra at bigpond.net.au
Sat Feb 19 19:18:45 EST 2005

On Fri, Feb 18, 2005 at 11:12:58PM -0800, Nitin Kishore Gupta wrote:
> In that case, maybe I can switch the default for binutils to be powerpc64 
> and enable powerpc.

You can, but be aware that if you are compiling for a native powerpc
system you normally want as, ld, etc. to default to 32-bit.  It's not so
important when building cross toolchains, since you will be installing
powerpc64-linux-as, powerpc64-linux-ld etc.  Also, building a biarch
toolchain, especially from scratch, isn't as simple as it could be.
Don't be surprised when things don't work if you deviate from Janis'
build scripts.  In fact, don't be surprised if things don't work when
you follow the script religiously.

Alan Modra
IBM OzLabs - Linux Technology Centre

More information about the Linuxppc64-dev mailing list