[LLVMdev] LLVM + GCC a simple tutorial/example?
anton at korobeynikov.info
Fri Aug 13 07:06:06 PDT 2010
> Is there a tutorial showing me how to compile c code on the fly within my
> c++ appliocation using LLVC and gcc frontend?
In such a case you'll have to invoke llvm-gcc as a normal binary, put
output into some temporary file and then load the output from that
Probably, clang will be better suitable for your need.
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev