[MacPorts] #68520: zvbi: need to fix endian macros so that old Xcode gcc recognized them
MacPorts
noreply at macports.org
Tue Oct 24 20:29:28 UTC 2023
#68520: zvbi: need to fix endian macros so that old Xcode gcc recognized them
---------------------------+-----------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: snowleopard, leopard, tiger
Port: zvbi |
---------------------------+-----------------------------------------
Comment (by kencu):
older gcc compilers (which are the default on Apple PPC) do not define
{{{__BYTE_ORDER__}}}
a useful snippet to see the compiler defines from a given compiler is:
{{{
echo | /usr/bin/gcc-4.2 -dM -E -
}}}
these can change with arguments to the compiler, eg {{{-arch}}}
{{{
$ echo | /usr/bin/gcc-4.2 -arch ppc -dM -E - | grep ENDIAN
#define __BIG_ENDIAN__ 1
#define _BIG_ENDIAN 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68520#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list