[英]How to Configure Alternate Eclipse Run Configurations - for LLVM BitCode .bc files?
Question 1: What is the proper way to create a "Run Configuration" in Eclipse, to execute an LLVM BitCode .bc file? 问题1:在Eclipse中创建“运行配置”以执行LLVM BitCode .bc文件的正确方法是什么?
And/Or: 和/或:
Question 2: What is the proper way to configure an alternate Run Configuration to output executable files, rather than .bc files, using llvm-vd, or clang++? 问题2:使用llvm-vd或clang ++配置备用运行配置以输出可执行文件而不是.bc文件的正确方法是什么?
In Eclipse: 在Eclipse中:
Notes: 笔记:
Toolset: 1. Eclipse's CDT with LLVM/Clang 2. MinGW-64 工具集: 1.带有LLVM / Clang的Eclipse CDT 2. MinGW-64
After fighting with this, for a while, I have come to the conclusion that with the current LLVM plugin for Eclipse, this just isn't possible, as it is very dated, and doesn't support the latest Clang Toolchain, (clang++, llc, etc), but uses the deprecated llvm-vd, etc. 经过一段时间的努力,我得出的结论是,对于当前的Eclipse LLVM插件,这是不可能的,因为它已经过时,并且不支持最新的Clang工具链((clang ++, llc等),但使用已弃用的llvm-vd等。
That being said, there may be a possibility with a regular make project, or using CMake. 话虽如此,使用常规make项目或使用CMake可能会有可能性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.