首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Cygwin下如何配置使用gcc工具链?

Cygwin下如何配置使用gcc工具链?
EN

Stack Overflow用户
提问于 2018-03-18 02:49:47
回答 1查看 469关注 0票数 0

尝试在Windows10的Cygwin下构建OpenJDK 9。我想使用gcc工具链,但默认情况下它会找到微软工具链。获取以下错误:

bash$ ./configure MAKE=/usr/local/bin/gmake with_freetype=C:/Users/gfalk/OpenJDK/freetype Running generated-configure.sh configure: Configuration created at Sat Mar 17 14:44:10 EDT 2018. configure: configure script generated at timestamp 1496926402. checking for basename... /usr/bin/basename checking for bash... /usr/bin/bash .... configure: Cannot locate a valid Visual Studio installation, checking current environment checking for Visual Studio variables... not found configure: Cannot locate a valid Visual Studio or Windows SDK installation on disk, configure: nor is this script run from a Visual Studio command prompt. configure: Try setting --with-tools-dir to the VC/bin directory within the VS installation configure: or run "bash.exe -l" from a VS command prompt and then run configure from there. configure: error: Cannot continue configure exiting with result code 1

我怎么把它指向gcc工具链呢?

谢谢,杰弗里

EN

回答 1

Stack Overflow用户

发布于 2018-03-18 06:11:57

根据OpenJDK build instructions的说法,构建OpenJDK需要Microsoft Visual Studio。

我模糊地记得曾尝试将Windows支持移植到GCC和Ming64 (用于在Fedora上进行交叉编译),但它需要大量的更改,而且从未完全完成。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49340652

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档