That's strange, since I understood that the LLVM project uses gcc as a base, and it uses the same source for both Linux and Windows. But perhaps one solution would be to build a Linux system, compile the C++ code to C code on that, then compile the resulting code on the Windows system. It's not the most practical of solutions, but with a few hundred dollars for a second machine, it should be doable to get it working in a day or two.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
You could also use a distribution of Linux that runs under Windows.
Strange but true. Source:
http://llvm.org/docs/GettingStartedVS.html#tutorial
I am on it.
Even if this is not the most practical solution.
Really strange that this bc file can be exclusively created under nix.
And it also appears that it only works to build small/trivial programs from the .bc file without gcc, so I suspect this is not actually a generic solution that you can compile with any compiler.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
I also wonder how it would handle things like int sizes being different on the target and build systems.