[haskell-llvm] Towards 0.10

Henning Thielemann lemming at henning-thielemann.de
Mon Jul 18 08:36:25 BST 2011


On Sun, 17 Jul 2011, Bryan O'Sullivan wrote:

> On Sat, Jul 16, 2011 at 8:48 AM, Mark Wright <markwright at internode.on.net> wrote:
>       It seems that way.
> 
> I just got rid of the template function entirely, as it was the easiest thing to do. Now the code loads into ghci without a
> problem. 

Great, this works!

Now, how to proceed with the duplicate (dynamic+static) linking to 
libLLVM-2.[89].so and libLLVMSystem and so on?

Currently in llvm.buildinfo.in the name of the dynamic library is 
constructed from the LLVM version:
   x-extra-ghci-libraries: LLVM- at llvm_version@

Instead we might replace this by
   x-extra-ghci-libraries: @llvm_dynamic@
  and construct @llvm_dynamic@ from the '.so' files shown by 'llvm-config 
--libs'.



More information about the Haskell-llvm mailing list