开发者

LLVM: bitcode with llvm-gcc (mingw) for windows

i'm currently building a sm开发者_运维技巧all JIT compiler. For the language I need a runtime library for some special math functions. I think the best would be to compile the lib to bitcode and link it. The compiler should be integrated in a product and as of this, it must work under windows (VC10, 64bit).

So is it possible to build the math lib with the mingw llvm-gcc build an link it later with the JITed Code? Or are there any problems regarding the portability of the bitcode build with llvm-gcc under mingw? If there are problems, what solution would you suggest?


Bitcode is in a portable format (at least given the same architecture); there is no difference between bitcode generated in Windows and bitcode generated in, for example, Linux or Cygwin.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜