On 05/04/2014 08:50 PM, Ludovic HOCHET wrote:
I finally got it to work. When running on 64-bit Windows, you have to specify --with-target-bits=32, otherwise building with Visual Studio Express will fail. It's obvious in retrospect, but somewhat difficult to figure out, considering that ./configure explicitly ignores the failure to locate the 64-bit environment variables file from Visual Studio.
For 64bits you need to also install the Windows SDK [1], from a blog post by Volker [2] VS Express does not include all the necessary stuff for 64bits. [1] http://www.microsoft.com/en-us/download/details.aspx?id=8279 [2] https://weblogs.java.net/blog/simonis/archive/2011/10/28/yaojowbi-yet-another-openjdk-windows-build-instruction
It's always a bit difficult to tell if build instructions from three years ago are still valid. I'll keep those resources in mind and try them once I need building on 64 bit. Thanks.
-- Florian Weimer / Red Hat Product Security Team