Re: Default arch on Linux/PowerPC?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 8 Apr 2020 at 03:38, Jeffrey Walton via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
>
> Hi Everyone,
>
> I was wondering about this output when using GCC on PowerPC. Why is
> GCC advertising Power7 and Power8 when the arch switches to enable
> them are not present on Linux?
>
> ==========
>
> This is GCC112 on the compile farm. Both GCC 4.8 and 8.3 have the
> behavior. Notice there are no options like -maltivec or -mcpu=power8

gcc -Q --help=target | fgrep cpu

The compilers on gcc112 are configured for powerpc64le-*-linux which
implies POWER8 because that target isn't supported on POWER7.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux