[LLVMdev] How to use the JIT with llvm-gfortran ?

Anton Korobeynikov anton at korobeynikov.info
Tue Mar 31 08:55:01 PDT 2009


Hi

> I understand it does not find the entry point of the program
> ( gfortran  creates a MAIN__ function  to be linked with some other
> code ).
> What should I so to have the lli running fortran code ?
This can be tricky... I think you should compile libgfortran as .bc
library and link it in. main() is library function there :(

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.




More information about the llvm-dev mailing list