develooper Front page | perl.perl5.porters | Postings from June 2010

RE: Building 64-bit perl on Win32

Thread Previous | Thread Next
Jan Dubois
June 28, 2010 09:53
RE: Building 64-bit perl on Win32
Message ID:
On Mon, 28 Jun 2010, Steve Hay wrote:
> What are the options for building a 64-bit perl on Win32 using Microsoft
> tools?
> The Makefile says that the SDK 64-bit compiler is supported. Does this
> mean that the 64-bit compiler in VS2008 is also supported? If so, can it
> be built on a 32-bit OS, or does it have to be built on a 64-bit OS?
> (I'm trying to use the VS2008 64-bit compiler (the x86_amd64 one), but
> working on a 32-bit OS, and I'm not having any luck.)

I don't actually know if the 64-bit compiler is still a 32-bit executable
itself, but it wouldn't work anyways, as the Perl build process requires
you to run the miniperl.exe that you have just built.

So _maybe_ it would be possible to build miniperl.exe with the 32-bit
compiler, and then build the full perl.exe and all extensions with the
64-bit one, but the bundled Makefiles are not set up for this.  I also
see little utility in this, as you wouldn't be able to run the test suite

The other way around (building 32-bit perl.exe on 64-bit Windows) works
just fine as long as you remember to explicitly set WIN64 to undef first.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About