Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
7cd993c7
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
7cd993c7
编写于
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
上级
6d527c38
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
38 addition
and
11 deletion
+38
-11
make/common/shared/Defs-windows.gmk
make/common/shared/Defs-windows.gmk
+38
-11
未找到文件。
make/common/shared/Defs-windows.gmk
浏览文件 @
7cd993c7
...
@@ -331,23 +331,50 @@ ifeq ($(_ms_sdk),)
...
@@ -331,23 +331,50 @@ ifeq ($(_ms_sdk),)
endif
endif
endif
endif
# Compilers for 64bit may be from
SDK. For VS 2010 we use those.
# Compilers for 64bit may be from
the free SDK, or Visual Studio Professional
# The
Express compilers don't contain 64 bit compilers, so in
# The
free Express compilers don't contain 64 bit compilers, which is why
#
that case, you additionally need the SDK. At this time,
#
you instead need the SDK.
#
there's no 64 bit SDK available that has VS 2010.
#
So for VS2010 based builds, either VS2010 Pro with the 7.0a SDK, or
#
Presumably SDK v7.1 will provide that and we may want to update
#
the Windows 7.1 standalone SDK with compilers may be used.
#
the logic here to work with that.
#
Release enginering will use VS2010 Pro, so the frequency of testing of
#
However official builds will use the Professional version
.
#
SDK based builds will depend entirely on individual usage
.
ifeq ($(ARCH_DATA_MODEL), 64)
ifeq ($(ARCH_DATA_MODEL), 64)
ifdef VS100COMNTOOLS # /Common7/Tools directory, use ../../Vc
ifdef VS100COMNTOOLS # /Common7/Tools directory, use ../../Vc
# VS2010 default location is used when building 64 bit using the 7.1 SDK
# This is safe to hardwire as the SDK installer won't let you change it
# and the VS2010 variable is only used if the compilers are from the SDK
xVS2010 :="$(_program_files32)/Microsoft Visual Studio 10.0/"
VS2010 :=$(call FullPath,$(xVS2010))
xVS100COMNTOOLS :="$(subst \,/,$(VS100COMNTOOLS))"
xVS100COMNTOOLS :="$(subst \,/,$(VS100COMNTOOLS))"
_vs100tools :=$(call FullPath,$(xVS100COMNTOOLS))
_vs100tools :=$(call FullPath,$(xVS100COMNTOOLS))
endif
endif
ifneq ($(_vs100tools),)
ifneq ($(_vs100tools),)
_compiler_bin :=$(_vs100tools)/../../Vc/bin/amd64
_compiler_bin :=$(_vs100tools)/../../Vc/bin/amd64
_redist_sdk :=$(_vs100tools)/../../Vc/redist/x64/Microsoft.VC100.CRT
x_redist_sdk :=$(_vs100tools)/../../Vc/redist/x64/Microsoft.VC100.CRT
xMSSDK70 :="$(_program_files32)/Microsoft SDKs/Windows/v7.0a/"
_redist_sdk :=$(call FullPath,$(x_redist_sdk))
MSSDK70 :=$(call FullPath,$(xMSSDK70))
# The SDK doesn't have the redist directory, but the DLL is installed
# into the windows directory.
ifeq ($(_redist_sdk),)
_redist_sdk :=c:/windows/system32
endif
# Not currently using MSSDK7n, but maybe we can make use of it for
# doing default location lookup to find some SDK tools that presently
# require the developer to explicitly set the path.
# The 7.0a path is from VS2010 Pro, the 7.1 path is the standalone SDK.
# Either will work for us.
# If a developer chooses to install the standalone SDK in some other
# location, then this will fail to find it, which won't matter so long as
# we aren't using this variable. If we do they'd still need to set the
# ALT_MSDEVTOOLS_PATH as now.
# %WindowsSdkDir% could be referenced instead but the SDK installer
# doesn't set it and in the case of the VS2010 compilers,
# you can't change this location in the installer anyway.
xMSSDK7n :="$(_program_files32)/Microsoft SDKs/Windows/v7.0a/"
MSSDK7n :=$(call FullPath,$(xMSSDK7n))
ifeq ($(MSSDK7n),)
xMSSDK7n :="$(_program_files32)/Microsoft SDKs/Windows/v7.1/"
MSSDK7n :=$(call FullPath,$(xMSSDK7n))
endif
else
else
xVS2008 :="$(_program_files32)/Microsoft Visual Studio 9.0/"
xVS2008 :="$(_program_files32)/Microsoft Visual Studio 9.0/"
VS2008 :=$(call FullPath,$(xVS2008))
VS2008 :=$(call FullPath,$(xVS2008))
...
@@ -355,7 +382,7 @@ ifeq ($(ARCH_DATA_MODEL), 64)
...
@@ -355,7 +382,7 @@ ifeq ($(ARCH_DATA_MODEL), 64)
_compiler_bin :=$(VS2008)/VC/Bin/$(ARCH)
_compiler_bin :=$(VS2008)/VC/Bin/$(ARCH)
xMSSDK61 :="$(_program_files)/Microsoft SDKs/Windows/v6.1/"
xMSSDK61 :="$(_program_files)/Microsoft SDKs/Windows/v6.1/"
MSSDK61 :=$(call FullPath,$(xMSSDK61))
MSSDK61 :=$(call FullPath,$(xMSSDK61))
_redist_sdk :=$(VS2008)/VC/redist/x
86
/Microsoft.VC90.CRT
_redist_sdk :=$(VS2008)/VC/redist/x
64
/Microsoft.VC90.CRT
else
else
ifneq ($(_ms_sdk),)
ifneq ($(_ms_sdk),)
ifeq ($(ARCH), ia64)
ifeq ($(ARCH), ia64)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录