Question 1: What is the proper way to create a "Run Configuration" in Eclipse, to execute an LLVM BitCode .bc file?
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++?
In Eclipse:
- "Run As: LLVM BitCode"
- "Run As: .exe under Windows"
- Future: "Run As: .exe under Wine", (which would probably be similar to #1 ...)
Notes:
- By default, the Build Configuration generates .bc files.
- In Build Settings/Build Artifact, there is not Build Artifact Type for "Executable", but just for "Static Library"--an no option to create an "Executable Build Artifact Type".
Toolset: 1. Eclipse's CDT with LLVM/Clang 2. MinGW-64