编译OpenJDK8:a microsoft compiler is required

简介: 编译OpenJDK8:a microsoft compiler is required

编译出错,有点束手无策。网上搜索,参考别人的做法,成功解决。


打开文件:common/autoconf/generated-configure.sh

删除或注释类似如下语句。原因是代码判断错了,实际上不影响编译。

as_fn_error $? "GCC compiler is required. Try setting --with-tools-dir." "$LINENO" 5
as_fn_error $? "A $TOOLCHAIN_TYPE compiler is required. Try setting --with-tools-dir." "$LINENO" 5

 这个语句有多个,可以全部删除。

目录
相关文章
|
7月前
|
编译器 Linux C语言
CMake指定交叉编译指南:从编译器设置到验证 (CMake Cross-compilation Guide: From Compiler Setup to Verification)
CMake指定交叉编译指南:从编译器设置到验证 (CMake Cross-compilation Guide: From Compiler Setup to Verification)
1810 1
|
机器人 Linux 编译器
替代notepad++,notepad--介绍及插件cmake编译
替代notepad++,notepad--介绍及插件cmake编译
|
Java Linux Maven
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
195 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
716 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
|
Java 编译器 Maven
maven项目build时出现 No compiler is provided in this environment.错误
maven项目build时出现 No compiler is provided in this environment.错误
maven项目build时出现 No compiler is provided in this environment.错误
|
Java iOS开发
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
136 0
|
iOS开发
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
112 0
编译OpenJDK12:a microsoft compiler is required
编译OpenJDK12:a microsoft compiler is required
82 0
|
Android开发
eclipse下载支持compiler compliance level 1.8的插件
eclipse下载支持compiler compliance level 1.8的插件
114 0
编译OpenJDK8:Your cygwin is too old. You are running but at least cygwin 1.7 is required
编译OpenJDK8:Your cygwin is too old. You are running but at least cygwin 1.7 is required
92 0