# HG changeset patch # User mikejwre # Date 1273709974 25200 # Node ID 30b170e85ca5977365cfba897e1c613f60cdb576 # Parent f8056ebfc2313f33c5cade7837c23cdea0f2c817# Parent 103a61b57f0e65715e5ed89cc2d6ffd226e0f1b9 Merge diff -r f8056ebfc231 -r 30b170e85ca5 README-builds.html --- a/README-builds.html Thu May 06 18:25:54 2010 -0700 +++ b/README-builds.html Wed May 12 17:19:34 2010 -0700 @@ -183,13 +183,13 @@
+- Windows: Microsoft Platform SDK + Windows x64: Microsoft Visual Studio Compilers+BEGIN WARNING: At this time (Spring/Summer 2010) JDK 7 is starting a transition to +use the newest VS2010 Microsoft compilers. These build instructions are updated +to show where we are going. We have a QA process to go through before +official builds actually use VS2010. So for now, official builds are +still using VS2003. No other compilers are known to build the entire JDK, +including non-open portions. +So for now you should be able to build with either VS2003 or VS2010. +We do not guarantee that VS2008 will work, although there is sufficient +makefile support to make at least basic JDK builds plausible. +Visual Studio 2010 Express compilers are likely to be able to build all the +"open" sources, with only small adjustments, but this has yet to be made +to work. Also we have not yet seen the 7.1 Windows SDK with the 64 bit +compilers. END WARNING. +
The 32-bit OpenJDK Windows build requires - Microsoft Visual Studio C++ 2008 (VS2008) Standard + Microsoft Visual Studio C++ 2010 (VS2010) Professional Edition compiler. The compiler and other tools are expected to reside in the location defined by the variable - VS90COMNTOOLS which + VS100COMNTOOLS which is set by the Microsoft Visual Studio installer.
Once the compiler is installed, @@ -982,36 +993,21 @@ prior to building the OpenJDK. The above environment variables MUST be set. + This compiler also contains the Windows SDK v 7.0a, + which is an update to the Windows 7 SDK.
WARNING: Make sure you check out the CYGWIN link.exe WARNING. The path /usr/bin must be after the path to the Visual Studio product.
- On X64, the Microsoft Platform Software - Development Kit (SDK), April 2005 Edition compiler, - is required for building the OpenJDK - because it contains the C/C++ compiler. - You will need to minimally install the Core SDK and - the MDAC SDK features of this compiler. -@@ -1314,40 +1310,16 @@ but it's normally found via the DirectX environment variable DXSDK_DIR. - MSVCRT.DLL + MSVCR100.DLL- Once the Platform SDK is installed, - it is recommended that you run SetEnv.Cmd /X64 - to set the compiler environment variables - MSSDK, - MSTOOLS, - INCLUDE, - LIB, and - PATH - prior to building the - OpenJDK. - The above environment variables MUST be set. -
- This Platform SDK compiler is only used on X64 builds - but other parts of the Platform SDK may be used - for the X86 builds. + On X64, the set up is much the same in VS2010 + except that you run amd64\VCVARS64.BAT + to set the compiler environment variables. + Previously 64 builds had used the 64 bit compiler in + an unbundled Windows SDK but this is no longer necessary.
- i586 only: - The OpenJDK 32-bit build requires access to a redistributable - MSVCRT.DLL. - If the MSVCRT.DLL is not installed in - the system32 directory set the + The OpenJDK build requires access to a redistributable + MSVCR100.DLL. + This is usually picked up automatically from the redist + directories of Visual Studio 2010. + If this cannot be found set the ALT_MSVCRT_DLL_PATH variable to the location of this file.- MSVCR90.DLL -- X64 only: - The OpenJDK 64-bit build requires access to a redistributable - MSVCRT.DLL, which is - usually supplied by the - Platform SDK. - If it is not available from the Platform SDK, - set the - ALT_MSVCRT_DLL_PATH - variable to the location of this file. -
- i586 only: - The - OpenJDK - build requires access to a redistributable - MSVCR90.DLL which should be - supplied by the - Visual Studio product. - If the MSVCR90.DLL is not available from the - Visual Studio product - set the - ALT_MSVCR90_DLL_PATH - variable to the location of this file.@@ -1623,11 +1595,10 @@ The location of the MSVCRT.DLL. -