This is true for the kernel only (and perhaps select proprietary components
of userland).
macOS 10.5 supports building and running ppc64 binaries.

On Fri, Oct 31, 2025 at 5:02 AM Bruno Haible <[email protected]> wrote:

> Sergey Fedorov wrote:
> > Are all parts with `#if defined __powerpc__` 32-bit specific?
>
> No:
>
> $ : | powerpc64-linux-gnu-gcc -E -dM - | grep -i 'p\(ower\|\)pc' | sort
> #define _ARCH_PPC 1
> #define _ARCH_PPC64 1
> #define _ARCH_PPCGR 1
> #define _ARCH_PPCSQ 1
> #define __powerpc__ 1
> #define __powerpc64__ 1
> #define __PPC__ 1
> #define __PPC64__ 1
>
> $ : | powerpc64le-linux-gnu-gcc -E -dM - | grep -i 'p\(ower\|\)pc' | sort
> #define _ARCH_PPC 1
> #define _ARCH_PPC64 1
> #define _ARCH_PPCGR 1
> #define _ARCH_PPCSQ 1
> #define __powerpc__ 1
> #define __powerpc64__ 1
> #define __PPC__ 1
> #define __PPC64__ 1
>
> > (which includes both 32- and 64-bit Darwin).
>
> There was no 64-bit PowerPC Mac OS X. Mac OS X / powerpc is 32-bit.
>
> Bruno
>
>
>
>

Reply via email to