[LLVMdev] A first!

Jeff Cohen jeffc at jolt-lang.org
Wed Dec 22 23:01:37 PST 2004


Turns out it wasn't using the JIT.  It was running the interpreter.  The 
X86 stuff wasn't being linked in.  Alas, once I "fixed" that, it stopped 
working.  The JIT couldn't resolve the symbol "printf" and failed.  But 
the interpreter could resolve it.

Misha Brukman wrote:

>On Wed, Dec 22, 2004 at 08:48:19PM -0800, Jeff Cohen wrote:
>  
>
>>I compiled a simple "hello world!" C program on FreeBSD, transfered
>>the a.out.bc file to Windows, and executed it with an lli.exe that I
>>built with Visual Studio.  It worked!
>>    
>>
>
>Great news, but note that not all bytecode files are so portable. :)
>
>  
>




More information about the llvm-dev mailing list