Windows cross compiles

David Holmes david.holmes at
Mon Aug 26 01:51:13 UTC 2013

On 24/08/2013 11:26 AM, Tim Bell wrote:
> On 08/23/13 02:15 PM, Salter, Thomas A wrote:
>> Is there any hope of compiling a 64-bit Windows JVM on a 32-bit O/S?
> We are headed in the other direction with OpenJDK 8 on Windows -
> compiling both 32 and 64-bit using Windows 2008R2 64-bit as the O/S and
> Visual Studio 2010 SP1 as the compiler.  We have very few 32-bit Windows
> systems left, and those we have are dedicated to building earlier JDK
> releases.

That aside though, if the windows 32-bit dev tools support building 
64-bit binaries (I have no idea if they do) then it should be as simple 
as configuring with --with-target-bits=64. But so far all our 
cross-compiling of this form has been on linux and only tested for 
building 32-bit on a 64-bit host.


> Tim
>> I tried a few options and other tweaks and got as far as configure
>> compiling a 64-bit fixpath.exe and then discovering that it won't run
>> on a 32-bit system.
>> I don't mind changing the make files but I'm not up for learning how
>> to generate the configure script.
>> Tom Salter  |  Software Engineer  |  Java & Middleware Development
>> Unisys  |  2476 Swedesford Road  |  Malvern, PA  19355   |
>> 610-648-2568 |  N385-2568

More information about the build-dev mailing list