64 bit python
E. McKay Hyde
hyde at math.umn.edu
Wed Jun 4 16:24:33 EDT 2003
Martin v. Löwis wrote:
> hyde at math.umn.edu (McKay Hyde) writes:
>
>
>>Can anyone help?
>
>
> What help do you need? Just recompile Python using a 64-bit C compiler.
> If you don't have a 64-bit C compiler, you'll need to buy one.
>
> Regards,
> Martin
Sorry I should have been more specific. I tried exactly what you
suggest, but when I try to compile with the 64-bit C++ compiler (xlC_r
-q64) I get an error on the first file:
xlC_r -q64 -bmaxdata:0x70000000 -c -DNDEBUG -O -I. -I./Include
-DHAVE_CONFIG_H -o Modules/ccpython.o ./Modules/ccpython.cc
"./Include/pyport.h", line 480.2: 1540-0859 (S) #error directive:
"LONG_BIT definition appears wrong for platform (bad gcc/glibc config?).".
So, it appears that either LONG_BIT is defined incorrectly, SIZEOF_LONG
is defined incorrectly or LONG_BIT is not supposed to equal 8 *
SIZEOF_LONG in the 64-bit case. Do you know which it is?
Thanks,
McKay
More information about the Python-list
mailing list