<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi all,<br><br>I am having a look at llvm-gfortran; it compiles OK, but I do not know how to using the JIT as described in http://llvm.org/docs/GettingStarted.html#tutorial. With llvm-gcc I managed to invoke the lli properly, but with llvm-gfortran compiled programs, it fails with the following message:<br><br>philou@tleilax:~/gcc/llvm/install/bin$ lli ./main.bc <br>'main' function not found in module.<br><br>I understand it does not find the entry point of the program ( gfortran  creates a MAIN__ function  to be linked with some other code ).<br><br>What should I so to have the lli running fortran code ?<br><br>Regards,<br><br>Philippe<br><br><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>