[PATCH] gcc: add GCC64 configuration for AIX 7.1

David Edelsohn dje.gcc@gmail.com
Sat Jul 25 00:06:55 GMT 2020


On Fri, Jul 24, 2020 at 5:01 AM CHIGOT, CLEMENT <clement.chigot@atos.net> wrote:
>
> Description:
>       This patch adds the support to build 64bit GCC applications on AIX 7.1

The patch was not correct because defaultaix64.h substitutes POWER7
target default in 64 bit mode, which AIX 7.1 defaults to POWER4.

PPC64 Linux uses BI_ARCH to specify 32 bit supporting 64 bit or 64 bit
supporting 32 bit.  AIX already does that by default.  So I changed
aix71.h and aix72.h to "abuse" BI_ARCH to flag that this is a 64 bit
default build.  This allows the choice of TARGET_DEFAULT to be
determined in aix71.h and aix72.h.  defaultaix64.h becomes redundant
and is removed.

I committed the attached, revised patch.

Thanks, David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-aix-Support-GCC64-for-AIX-7.1.patch
Type: application/octet-stream
Size: 10220 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200724/1adbc0a6/attachment.obj>


More information about the Gcc-patches mailing list