[PATCH] ppc64 & powerpc: Check whether the native CC can use -m64
Daniel Ostrow
dostrow at gentoo.org
Thu Nov 10 04:43:59 EST 2005
On 18:32 Wed 09 Nov , Arnd Bergmann wrote:
> On Middeweken 09 November 2005 18:08, Daniel Ostrow wrote:
>
> > +NATIVE64 := $(call cc-option-yn, -m64)
> > +ifeq ($(NATIVE64),n)
> > +CROSS_COMPILE := powerpc64-unknown-linux-gnu-
> > +endif
> > +
>
> But now you're using powerpc64-unknown-linux-gnu- instead
> of powerpc64-linux-. I don't know which one is more widely
> used, but at least the debian packages I'm using have
> 'powerpc64-linux' only.
>
> Arnd <><
On Gentoo we use powerpc64-unknown-linux-gnu-* for all the binutils and
gcc symlinks. For any cross compilers we also include a
powerpc64-linux-gcc symlink but this is the only one that fits the
*-linux mold none of the binutils ones do the same. Once we figure out
the best way to do it (be it powerpc64-unknown-linux-gnu- or
powerpc64-linux-) I will send a new diff with the CROSS_COMPILE ?= added
in.
--
Daniel Ostrow
Gentoo Foundation Board of Trustees
Gentoo/{PPC,PPC64,DevRel}
dostrow at gentoo.org
More information about the Linuxppc64-dev
mailing list