[Bf-committers] LLP64 / LP64 (win64 vs rest) issue

Giuseppe Ghibò ghibo at mandriva.com
Wed Jul 30 11:30:59 CEST 2008


Nathan Letwory wrote:
> For (future) reference: 
> http://msdn.microsoft.com/en-us/library/aa384242(VS.85).aspx 
> <http://msdn.microsoft.com/en-us/library/aa384242%28VS.85%29.aspx> and 
> so people can read up on it.
>
> /Nathan
>
> On Sun, Jul 27, 2008 at 1:05 PM, Daniel Genrich 
> <daniel.genrich at gmx.net <mailto:daniel.genrich at gmx.net>> wrote:
>
>     Hi there,
>
>     In an attempt to create a Windows 64bit version, Blender needs an
>     official way to deal with the fact that:
>
>     long is 32bit on Win64 (LP64)
>     long is 64bit on Linux64/Mac64 (LLP64)
>

the definition of the long is right, but the suffix is different. Win64 
platform
is LLP64 and not LP64, which means that 64bit are used for both "long 
long" type
and "pointers", everything other is the same as in the 32bit arch. Ditto 
for Linux64 which is LP64 and not
LLP64, i.e. the type "long" and "pointer" are at 64bit, while all the 
rest is as in 32bit arch.

Some old infos may be found in this thread:

http://lists.blender.org/pipermail/bf-committers/2007-January/017294.html
http://lists.blender.org/pipermail/bf-committers/2007-January/017298.html

Bye
Giuseppe.




More information about the Bf-committers mailing list