在Windows上构建32位OpenJDK 9

时间:2017-11-07 18:04:49

标签: windows visual-studio-2013 cygwin 32-bit openjdk

有没有人试图在Windows上构建OpenJDK 9 32位?我从存储库http://hg.openjdk.java.net/jdk9中提取了代码。我也遵循了共同的\ doc \ building.html中的说明。 (在Visual Studio 2013 Update 5中使用最新的cygwin。)

配置步骤正常:

./configure --with-freetype-src=/cygdrive/d/HG/jdk9/freetype-2.5.3 --with-target-bits=32

配置成功,没有错误或警告。 " build \ windows-x86-normal-server-release"文件夹被创建并填充。

Configuration summary:
* Debug level:    release
* HS debug level: product
* JDK variant:    normal
* JVM variants:   server
* OpenJDK target: OS: windows, CPU architecture: x86, address length: 32
* Version string: 9-internal+0-adhoc..jdk9 (9-internal)

Tools summary:
* Environment:    cygwin version 2.9.0(0.318/5/3) (root at /cygdrive/c/cygwin64)
* Boot JDK:       java version "9.0.1"  Java(TM) SE Runtime Environment (build 9.0.1+11)  Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)   (at /cygdrive/c/Java/jdk-9.0.1)
* Toolchain:      microsoft (Microsoft Visual Studio 2013)
* C Compiler:     Version 18.00.40629 (at /cygdrive/c/progra~2/micros~1.0/vc/bin/cl)
* C++ Compiler:   Version 18.00.40629 (at /cygdrive/c/progra~2/micros~1.0/vc/bin/cl)

Build performance summary:
* Cores to use:   8
* Memory limit:   32672 MB

然而,无论我使用什么目标,make操作都会失败:

$ make clean

/usr/bin/bash: -c: line 0: syntax error near unexpected token `>'
make[1]: *** [/cygdrive/d/HG/jdk9/make/Init.gmk:293: main] Error 2
make: *** [/cygdrive/d/HG/jdk9/make/Init.gmk:185: clean] Error 2

有什么想法吗? 谢谢, - 汤姆

0 个答案:

没有答案