ppc64 packages that did not build for dist-fc7
Hans de Goede
j.w.r.degoede at hhs.nl
Thu May 24 09:00:49 UTC 2007
Jakub Jelinek wrote:
> On Thu, May 24, 2007 at 08:37:40AM +0200, Hans de Goede wrote:
>> Bill Nottingham wrote:
>>> ogre-1.2.5-1.fc7
>> This failure is caused by this piece of code:
>>
>> /* Find the arch type */
>> #if defined(__x86_64__) || defined(_M_X64)
>> # define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_64
>> #else
>> # define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_32
>> #endif
>>
>> Which obviously needs to check for something like __ppc64__ too, can anyone
>> tell me what exactly it needs to check for?
>
> If it wants to check for LP64 architecture, then GCC 3.4 and later
> defines _LP64 and __LP64__ macros on these arches.
> Or you can #include <limits.h> and check LONG_MAX etc.
>
__LP64__ will work nicely, although what they are actually trying to check is
wether or not size_t is 64 bit.
Regards,
Hans
More information about the Fedora-maintainers
mailing list