Re: [Gambas-user] gb.jit can't be compiled

2012-12-19 Thread flachyjoe
It's the first LLVM package I test... I've try with the trunk too and the same issues occurred. On debian, a link have to be done from /usr/include/llvm-3.2/llvm to /usr/include/llvm for it work. -- View this message in context: http://gambas.8142.n7.nabble.com/gb-jit-can-t-be-compiled-tp40071

Re: [Gambas-user] gb.jit can't be compiled

2012-12-18 Thread Emil Lenngren
Nice :) What was the first LLVM version you noticed gb.jit didn't work? Or did you use the LLVM trunk? /Emil 2012/12/19 Jim Brown > Hi > > Thanks for this, it works for my Ubuntu install also. A couple of weeks > ago I decided to implement jit into my build but after downloading and > installi

Re: [Gambas-user] gb.jit can't be compiled

2012-12-18 Thread Jim Brown
Hi Thanks for this, it works for my Ubuntu install also. A couple of weeks ago I decided to implement jit into my build but after downloading and installing llvm I could not get it to install because of errors with IRBuilder. Tonight has been the first build that has completed for some time.

Re: [Gambas-user] gb.jit can't be compiled

2012-12-18 Thread Emil Lenngren
Arghh, why do they have to rename classes and files?? That breaks API/ABI compatibility for many projects... When llvm 3.2 is released, I shall go through everything and make sure that gb.jit works correctly. /Emil 2012/12/18 Flachy Joe > Hi, > Some fixes for errors when compiling on debian si

Re: [Gambas-user] gb.jit can't be compiled

2012-12-18 Thread Flachy Joe
Hi, Some fixes for errors when compiling on debian sid (with llvm-3.2~rc3.1 packages) : In jit_gambas_pass.cpp line 28 and jit.h line 36 : change /llvm/Support/IRBuilder.h to /llvm/IRBuilder.h In jit_codegen.cpp, line 3617 and line 3668 : change llvm:Attribute to llvm::Attributes Re

Re: [Gambas-user] gb.jit can't be compiled

2012-11-26 Thread Emil Lenngren
So there is no llvm package for openSuse that installs the dynamic libraries? It's easy to link to static libraries by changing the configure.ac file. However, at least I think it's difficult to make the configure.ac file to work for all linux distributions... The best thing might be to first chec

Re: [Gambas-user] gb.jit can't be compiled

2012-11-26 Thread Jussi Lahtinen
I guess Emil can fix this by making it possible to optionally link against static libraries..? Not sure. Personally I always use dynamic libraries. Jussi On Mon, Nov 26, 2012 at 10:00 PM, Matti wrote: > Ah, thanks, didn't know that. > > gb.jit obviously wants dynamic libraries. > In /trunk/gb

Re: [Gambas-user] gb.jit can't be compiled

2012-11-26 Thread Matti
Ah, thanks, didn't know that. gb.jit obviously wants dynamic libraries. In /trunk/gb.jit/config.log I found: configure:16852: checking for gb.jit libraries configure:16952: result: no configure:16958: WARNING: Unable to find file: libLLVM-3.1.so configure:17008: WARNING: gb.jit is disabled What t

Re: [Gambas-user] gb.jit can't be compiled

2012-11-26 Thread Jussi Lahtinen
> So, there a libLLVM really seems to be missing. > Those libLLVM*.a files are the libraries. *.a means static library, *.so means dynamic library. Jussi -- Monitor your physical, virtual and cloud infrastructure from a

Re: [Gambas-user] gb.jit can't be compiled

2012-11-26 Thread Matti
Here (openSuse 12.2 i586) I find: - lots of llvm* files in usr/bin - lots of libLLVM*.a files in usr/lib (only .a files!) - directories usr/include/llvm and usr/include/llvm-c - directory usr/share/qt4/mkspecs/linux-llvm So, there a libLLVM really seems to be missing. Do you need more info? Matti

Re: [Gambas-user] gb.jit can't be compiled

2012-11-25 Thread Emil Lenngren
It's a pity that almost all linux distributions put the llvm libs in different places. Also, some distributions use the static library, and some of them use a dynamic library. Can you see where your package manager has installed the llvm files? /Emil 2012/11/25 Matti > Didn't care about this c

[Gambas-user] gb.jit can't be compiled

2012-11-25 Thread Matti
Didn't care about this component for a while. Now I installed - following the wiki - llvm 3.1-2.3.1 and llvm-devel 3.1-2.3.1 'make' now complains about a missing 'libLLVM-3.1' that can't be found in my (Suse) repos. The informations in the web are a bit confusing. Anybody knows where to download