Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8
提交
960d42b3
D
dragonwell8
项目概览
openanolis
/
dragonwell8
通知
5
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
960d42b3
编写于
6月 16, 2010
作者:
P
prr
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
Reviewed-by: ohair, jcoomes
上级
99e9cbf9
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
32 addition
and
13 deletion
+32
-13
README-builds.html
README-builds.html
+32
-13
未找到文件。
README-builds.html
浏览文件 @
960d42b3
...
...
@@ -65,8 +65,9 @@
<li><a
href=
"#cacerts"
>
Certificate Authority File (cacert)
</a>
</li>
<li><a
href=
"#compilers"
>
Compilers
</a>
<ul>
<li><a
href=
"#msvc"
>
Microsoft Visual Studio
</a>
</li>
<li><a
href=
"#mssdk"
>
Microsoft Platform SDK
</a>
</li>
<li><a
href=
"#msvc32"
>
Microsoft Visual Studio Professional/Express for 32 bit
</a>
</li>
<li><a
href=
"#msvc64"
>
Microsoft Visual Studio Professional for 64 bit
</a>
</li>
<li><a
href=
"#mssdk64"
>
Microsoft Windows SDK for 64 bit
</a>
</li>
<li><a
href=
"#gcc"
>
Linux gcc/binutils
</a>
</li>
<li><a
href=
"#studio"
>
Sun Studio
</a>
</li>
</ul>
...
...
@@ -789,11 +790,11 @@
</li>
<li>
Install the
<a
href=
"#msvc"
>
Microsoft Visual Studio Compilers
</a>
).
<a
href=
"#msvc
32
"
>
Microsoft Visual Studio Compilers
</a>
).
</li>
<li>
Setup all environment variables for compilers
(see
<a
href=
"#msvc"
>
compilers
</a>
).
(see
<a
href=
"#msvc
32
"
>
compilers
</a>
).
</li>
<li>
Install
...
...
@@ -958,7 +959,7 @@
are also an option, although these compilers have not
been extensively used yet.
</blockquote>
<strong><a
name=
"msvc
"
>
Windows i586: Microsoft Visual Studio
Compilers
</a></strong>
<strong><a
name=
"msvc
32"
>
Windows i586: Microsoft Visual Studio 2010
Compilers
</a></strong>
<blockquote>
<p>
<b>
BEGIN WARNING
</b>
: At this time (Spring/Summer 2010) JDK 7 is starting a transition to
...
...
@@ -971,14 +972,13 @@ 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 now able to build all the
open source repositories, but this is 32 bit only, since
we have not yet seen the 7.1 Windows SDK with the 64 bit
compilers.
<b>
END WARNING.
</b>
open source repositories, but this is 32 bit only. To build 64 bit
Windows binaries use the the 7.1 Windows SDK.
<b>
END WARNING.
</b>
<p>
The 32-bit OpenJDK Windows build
requires
Microsoft Visual Studio C++ 2010 (VS2010) Professional
Edition
compiler.
Edition
or Express compiler.
The compiler and other tools are expected to reside
in the location defined by the variable
<tt>
VS100COMNTOOLS
</tt>
which
...
...
@@ -1001,14 +1001,33 @@ compilers. <b>END WARNING.</b>
The path
<tt>
/usr/bin
</tt>
must be after the path to the
Visual Studio product.
</blockquote>
<strong><a
name=
"ms
sdk"
>
Windows x64: Microsoft Visual Studio Compilers
</a></strong>
<strong><a
name=
"ms
vc64"
>
Windows x64: Microsoft Visual Studio 2010 Professional Compiler
</a></strong>
<blockquote>
On
<b>
X64
</b>
, the set up is much the same in VS2010
For
<b>
X64
</b>
, builds, when using the VS2010 Professional
compiler, the 64 bit build set up is much the same as 32 bit
except that you run
<tt>
amd64\VCVARS64.BAT
</tt>
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.
Previously 64 bit builds had used the 64 bit compiler in
an unbundled Windows SDK but this is no longer necessary if
you have VS2010 Professional.
</blockquote>
<strong><a
name=
"mssdk64"
>
Windows x64: Microsoft Windows 7.1 SDK 64 bit compilers.
</a></strong>
For a free alternative for 64 bit builds, use the 7.1 SDK.
Microsoft say that to set up your paths for this run
<pre>
c:\Program Files\Microsoft SDKs\Windows\v7.1\bin\setenv.cmd /x64.
</pre>
What was tested is just directly setting up LIB, INCLUDE,
PATH and based on the installation directories using the
DOS short name appropriate for the system, (you will
need to set them for yours, not just blindly copy this) eg :
<pre>
set VSINSTALLDIR=c:\PROGRA~2\MICROS~1.0
set WindowsSdkDir=c:\PROGRA~1\MICROS~1\Windows\v7.1
set PATH=%VSINSTALLDIR%\vc\bin\amd64;%VSINSTALLDIR%\Common7\IDE;%WindowsSdkDir%\bin;%PATH%
set INCLUDE=%VSINSTALLDIR%\vc\include;%WindowsSdkDir%\include
set LIB=%VSINSTALLDIR%\vc\lib\amd64;%WindowsSdkDir%\lib\x64
</pre>
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a
name=
"zip"
>
Zip and Unzip
</a></h4>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录