[LLVMdev] A first!

Henrik Bach henrik_bach_llvm at hotmail.com
Thu Dec 23 08:23:32 PST 2004

Another and cheaper option could be to buy an used vc++ 7.1 development 


----Original Message Follows----
From: Reid Spencer <reid at x10sys.com>
Reply-To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
Subject: Re: [LLVMdev] A first!
Date: Thu, 23 Dec 2004 07:33:13 -0800


The "equivalent of dlsym" should be working just fine. Its called ltdl
(libtool dynamic library) and is part of lib/System. Its interface is
the DynamicLibrary class. The interpreter has already been modified to
use this facility.

So, if this is broken on windows, I'd like to know how, or why.

Jeff, can you provide a test case that we can use to reproduce this
problem?  Looks like I'm finally going to force myself into a windows
build (i.e. cough up the money for VC++ 7.1).


On Wed, 2004-12-22 at 23:12, Misha Brukman wrote:
 > On Wed, Dec 22, 2004 at 11:01:37PM -0800, Jeff Cohen wrote:
 > > Turns out it wasn't using the JIT.  It was running the interpreter.  
 > > X86 stuff wasn't being linked in.  Alas, once I "fixed" that, it 
 > > working.  The JIT couldn't resolve the symbol "printf" and failed.  But
 > > the interpreter could resolve it.
 > The interpreter has some hacks for dealing with common functions like
 > "printf" :)  We need to get the Win32 equivalent of dlsym() going for
 > the JIT to work on Windows.
<< signature.asc >>
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu

Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/

More information about the llvm-dev mailing list