-
Bug
-
Resolution: Fixed
-
P4
-
10, 11
-
None
-
windows
Visual Studio 2013 express edition does not come with the native 64bit compilers which we assume in configure. Instead it comes with a 32bit cross compilation setup. The only real difference seems to be the location of files, most notably the vcvars*.bat. Nir Lisker on build-dev has demonstrated that by changing which vcvars*.bat we look for, he was able to successfully build using express edition: http://mail.openjdk.java.net/pipermail/build-dev/2018-January/020584.html
---
This is what I did in toolchain_windows.m4:
if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
VCVARSFILE="vc/bin/vcvars32.bat"
else
# VCVARSFILE="vc/bin/amd64/vcvars64.bat"
VCVARSFILE="vc/bin/x86_amd64/vcvarsx86_amd64.bat"
fi
---
We should update configure to at least accept this alternate path to vcvars*.bat.
---
This is what I did in toolchain_windows.m4:
if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
VCVARSFILE="vc/bin/vcvars32.bat"
else
# VCVARSFILE="vc/bin/amd64/vcvars64.bat"
VCVARSFILE="vc/bin/x86_amd64/vcvarsx86_amd64.bat"
fi
---
We should update configure to at least accept this alternate path to vcvars*.bat.
- relates to
-
JDK-8196108 Add build support for VS 2015/2017
-
- Resolved
-