On 02/06/2018 07:29 PM, Bas Vermeulen wrote:
> I get that. But configure in the gcc sources doesn't actually process those. So while they are in rules2, it doesn't actually change anything.
>
> See https://github.com/gcc-mirror/gcc/blob/ and search for with-cpu (which would catch both --with-cpu-32 andda8dff89fa9398f04b107e388cb706 517ced9505/configure
> --with-cpu-64), and you won't find it there.
I really don't think that Matthias Klose had put those there without testing.
"--with-cpu-*" is a common configure switch supported by gcc across all
architectures. We use it on sparc64 as well, for example to set the
default CPU to UltraSPARC for 32-bit sparc.
Also, you're looking at the wrong file. It's in gcc/gcc/config.gcc:
> https://github.com/gcc-mirror/gcc/blob/master/gcc/config.gcc
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- debian/rules2.orig 2018-02-08 13:05:05.493117248 +0100 +++ debian/rules2 2018-02-08 13:04:17.870348206 +0100 @@ -388,6 +388,8 @@ endif ifeq ($(derivative),Ubuntu) CONFARGS += --with-cpu-32=power7 --with-cpu-64=power7 + else + CONFARGS += --with-cpu-32=powerpc --with-cpu-64=powerpc64 endif endif