Re: Using the llvm D-bindings [solved]

2010-10-06 Thread mwarning
On Wed, 06 Oct 2010 16:57:09 +0200, Manuel König wrote: > LLVM_LIBS=`llvm-config --libs | sed 's/-l/-L-l'` typo detected, you need: sed 's/-l/-L-l/g' :)

Re: Using the llvm D-bindings [solved]

2010-10-06 Thread Manuel König
The previous "Initial setup" description didn't pass the "copy paste" test, now it's more instructive. The same should work for llvm 2.6 and 2.8, too (yes, 2.8 was just released and the bindings are already there :) Initial setup: == svn co http://svn.dsource.org/projects/bindings/tru

Re: Using the llvm D-bindings [solved]

2010-10-06 Thread Manuel König
Am Wed, 6 Oct 2010 14:36:16 +0200 schrieb Manuel König : > > > > You should probably ask LDC guys (irc://irc.freenode.net/ldc) > > Thanks, I'll try. But I think the development of LDC was put on hold > due to lack of time and interest, let's see if I can find someone > there :) > Well, the cha

Re: Using the llvm D-bindings

2010-10-06 Thread Manuel König
over the error messages, I think it's only operator, > > delete and std::* symbols that are missing. I also get the same > > error messages when I try to compile an equivalent C program that > > uses the llvm-c/* headers with gcc, but it works with g++, so I'm > > quite

Re: Using the llvm D-bindings

2010-10-06 Thread Denis Koroskin
essages when I try to compile an equivalent C program that uses the llvm-c/* headers with gcc, but it works with g++, so I'm quite sure the problem is the missing c++ runtime, which is nonexistent in ldc. I think there are only two ways to solve this: (1) link the c++ runtime to ldc (I ha

Using the llvm D-bindings

2010-10-06 Thread Manuel König
program that uses the llvm-c/* headers with gcc, but it works with g++, so I'm quite sure the problem is the missing c++ runtime, which is nonexistent in ldc. I think there are only two ways to solve this: (1) link the c++ runtime to ldc (I have no clue how to do that or if it's