-
Bug
-
Resolution: Won't Fix
-
P3
-
7
-
x86
-
windows
The J2SE source code is completely ready to be built in VS2005. However, the binaries are not executable because of the lack of appropriate manifests in every bin/*.exe file if the build is performed using VS2005.
According to MSDN: "Any C/C++ program built in Visual C++ 2005 has to include a manifest..." (see http://msdn2.microsoft.com/en-us/library/ms235342.aspx).
The sample contents of the required manifest is as follows:
***************************************
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>
***************************************
Please note that the CRT version and the publicKeyToken of the CRT DLL is provided here for VS2005 Express Edition SP1.
It means that our Makefiles should find out the VS version used (be it 2003 or 2005, as well as the exact version number) while building, and supply the correct version number and the publicKeyToken to the manifest that should be linked into every *.exe file if the build is performed using VS2005.
According to MSDN: "Any C/C++ program built in Visual C++ 2005 has to include a manifest..." (see http://msdn2.microsoft.com/en-us/library/ms235342.aspx).
The sample contents of the required manifest is as follows:
***************************************
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>
***************************************
Please note that the CRT version and the publicKeyToken of the CRT DLL is provided here for VS2005 Express Edition SP1.
It means that our Makefiles should find out the VS version used (be it 2003 or 2005, as well as the exact version number) while building, and supply the correct version number and the publicKeyToken to the manifest that should be linked into every *.exe file if the build is performed using VS2005.
- relates to
-
JDK-6779412 VS2008 errors compiling jdk sources
- Resolved
-
JDK-6722527 Need manifest for every exe file in jre/bin directory
- Closed
-
JDK-6754862 jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
- Closed
-
JDK-6764892 VS2008 changes required to compile hotspot sources
- Closed
-
JDK-6759959 VS2008 errors compiling corba sources
- Closed