Re: Windows cross compiles

2013-08-26 Thread Salter, Thomas A
Thanks for the various suggestions. So far, I've not found a way to get through configure for a 64-bit JVM on a 32-bit OS. (I am able to build both 32- and 64-bit JVMs on a 64-bit OS and I can build a 32-bit JVM on a 32-bit OS.) Here's what I've found so far: 1. With-target-bits=64 and no oth

Re: Windows cross compiles

2013-08-26 Thread David Holmes
On 26/08/2013 9:35 PM, Ivan Krylov wrote: The VS compiler supports building 64-bit targets on 32-bit Windows/cl.exe but at some point along the jdk build process the newly built bin\java.exe is being used and that should fail on your 32-bit OS. Ah right! 64-bit on a 32-bit host would need to

Re: Windows cross compiles

2013-08-26 Thread Erik Joelsson
This is true, but I think there is a workaround in place when cross compiling (using the bootjdk). For a correct build, this requires the bootjdk to be recent enough. /Erik On 2013-08-26 13:35, Ivan Krylov wrote: The VS compiler supports building 64-bit targets on 32-bit Windows/cl.exe but a

Re: Windows cross compiles

2013-08-26 Thread Ivan Krylov
The VS compiler supports building 64-bit targets on 32-bit Windows/cl.exe but at some point along the jdk build process the newly built bin\java.exe is being used and that should fail on your 32-bit OS. 0.02, Ivan On Aug 26, 2013, at 12:24 PM, Erik Joelsson wrote: > > > On 2013-08-26 03:51

Re: Windows cross compiles

2013-08-26 Thread Erik Joelsson
On 2013-08-26 03:51, David Holmes wrote: 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 u

Re: Windows cross compiles

2013-08-25 Thread David Holmes
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 Vi

Re: Windows cross compiles

2013-08-23 Thread Tim Bell
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.

Windows cross compiles

2013-08-23 Thread Salter, Thomas A
Is there any hope of compiling a 64-bit Windows JVM on a 32-bit O/S? 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 t