installer for amd64 build of python?

M

magneticlemur

Hi,

Does anyone know of an available downloader for an amd64 bit
build of (a modern) python?
I've done my due diligence search of python docs and
mailing archives,
and I'm somewhat mystified by the lack of info
on this topic.
I'm embedding python in a native 64 bit
application so python32 using WOW64
is not an option for me.

Alternatively, does anyone have experience
of using the visual studio files in the PCBuild
directory under amd64?

Any pointers appreciated,

Cheers
Mike
 
B

Brett Hoerner

Alternatively, does anyone have experience
of using the visual studio files in the PCBuild
directory under amd64?

I don't have an answer for you, but just to clarity for future
readers... based on the quote above, I assume you mean a native 64-bit
build for Windows, right? You never stated what platform you need this
for, I for one use a 64-bit build of Python on Linux just fine... but
yes, Windows is another story, especially if you want it built with the
super-mega-pro VS with optimizations and all that jazz they use for
official 32-bit Windows binaries.
 
M

magneticlemur

Brett,
I don't have an answer for you, but just to clarity for future
readers... based on the quote above, I assume you mean a native 64-bit
build for Windows, right? You never stated what platform you need this
for, I for one use a 64-bit build of Python on Linux just fine... but
yes, Windows is another story, especially if you want it built with the
super-mega-pro VS with optimizations and all that jazz they use for
official 32-bit Windows binaries.

Yes I carefully checked my message twice and completely
missed the fact that I left out the magic words Windows x64. (d'uh me.)
As you say, for my linux 64 builds, it works perfectly out
of the box. (surprise)

mike
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Does anyone know of an available downloader for an amd64 bit
build of (a modern) python?

There is no official build. The only official Win64 build is
for Itanium, see www.python.org/2.4.2
I've done my due diligence search of python docs and
mailing archives, and I'm somewhat mystified by the lack of info
on this topic.

I'm not at all mystified. The operating system was only released
after the release of Python 2.4, there is no official compiler
available yet to the general public, and I don't have the hardware
to test such a release.

It's fairly likely that Python 2.5 will not see official AMD64
Windows binaries, either.
I'm embedding python in a native 64 bit
application so python32 using WOW64
is not an option for me.

So you should build this on your own.
Alternatively, does anyone have experience
of using the visual studio files in the PCBuild
directory under amd64?

A number of people have tried this. There is one open issue
with signal handling: VS 2005 will apparently drop compatibility
with Standard C in one aspect where previous releases used to
be C compatible (namely, processing of unsupported signal
numbers in signal(3)). Because of that, Python will raise
an assertion failure in the debug build.

Regards,
Martin
 
P

Paul Rubin

Does anyone know of an available downloader for an amd64 bit
build of (a modern) python?

I've gotten a bug report from someone using Python under Linux on an
amd64, so compiling for 64 bits definitely is feasible. You could try
the Fedora Core 4 amd64 distro (http://fedora.redhat.com).
 
M

magneticlemur

Martin,
I'm not at all mystified. The operating system was only released
after the release of Python 2.4, there is no official compiler
available yet to the general public, and I don't have the hardware
to test such a release.
It's fairly likely that Python 2.5 will not see official AMD64
Windows binaries, either.

Fair enough. I wasn't complaining about the lack of an official build.
Just surprised that I couldn't find reports on attempts at unofficial
builds.

Thanks for the tips re VS2005.

Regards,
Mike
 
B

Brett Hoerner

As an aside to this, are there any freely available C compilers for
Windows that can compile 64-bit binaries? I find nothing for Cygwin or
MinGW...
 
T

Trent Mick

[Brett Hoerner wrote]
As an aside to this, are there any freely available C compilers for
Windows that can compile 64-bit binaries? I find nothing for Cygwin or
MinGW...

Yes. The MS Platform SDK is free and includes a compiler that can target
x86, ia64 and x64 (the latter is what MS -- and Sun -- are calling
AMD64).

Trent
 
B

Brett Hoerner

Trent said:
Yes. The MS Platform SDK is free and includes a compiler that can target
x86, ia64 and x64 (the latter is what MS -- and Sun -- are calling
AMD64).

Thanks, looking at their site I can't find a Platform SDK for XP... am
I looking for the Windows 2003 Server SDK...? Seems counter-intuitive
if so, but it does mention you can build 32 and 64-bit apps with it, I
just assumed they would be uh, for Windows Server.

Thanks again,
Brett
 
S

Steve Holden

Brett said:
Thanks, looking at their site I can't find a Platform SDK for XP... am
I looking for the Windows 2003 Server SDK...? Seems counter-intuitive
if so, but it does mention you can build 32 and 64-bit apps with it, I
just assumed they would be uh, for Windows Server.

Thanks again,
Brett
I used the instructions at

http://www.vrplumber.com/programming/mstoolkit/

to install the MS Toolkit, but I haven't tried compiling 64-bit code
myself, not having any 64-bit hardware.

regards
Steve
 
T

Trent Mick

[Brett Hoerner wrote]
Thanks, looking at their site I can't find a Platform SDK for XP... am
I looking for the Windows 2003 Server SDK...? Seems counter-intuitive

Yes, I believe that is the one I am using. MS seems to aim for minimal
intuitive-factor with Platform SDK version naming.

Trent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top