Re: ppc64 packages that did not build for dist-fc7

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

 



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.

	Jakub

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux