llvm/clang 构建后还需要 MinGW gcc 吗?
我是 llvm/clang 的新手,并且已经使用 MinGW 成功构建了 clang。
我有一个简单的问题 - clang 是否仍需要 MinGW gcc 才能作为 ac/c++ 编译器工作?
谢谢, 吉维博曼
I am new to llvm/clang and have successfully built clang with MinGW.
I have one simple question - is MinGW gcc still needed for clang to work as a c/c++ compiler?
Thanks,
jweiboman
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
现在——不幸的是,是的。 clang 将使用 gcc 来组装/链接这些东西。这是必要的,例如为添加 CRT 对象和链接器调用提供正确的命令行。图书馆。
一旦有人为 clang 中的 mingw 提供完整的“工具链”定义,这就没有必要了。仅需要汇编器和链接器(binutils 的一部分)。
Right now - unfortunately, yes. clang will use gcc to assemble / link the stuff. This is necessary to e.g. provide the proper cmdline for linker invocation adding CRT objects & libraries.
As soon as someone will provide the the complete "toolchain" definition for mingw in clang, this won't be necessary. Only assembler and linker (part of binutils) will be required.