[Gambas-user] LLVM for Gambas

Jussi Lahtinen jussi.lahtinen at ...626...
Sat Sep 21 15:34:37 CEST 2013


SourceManager.cpp: In function ‘void
ComputeLineNumbers(clang::DiagnosticsEngine&, clang::SrcMgr::ContentCache*,
llvm::BumpPtrAllocator&, const clang::SourceManager&, bool&)’:
SourceManager.cpp:1134:20: error: ‘CountTrailingZeros_32’ is not a member
of ‘llvm’


This is from svn version, so maybe there is something wrong in source code.

Jussi


On Sat, Sep 21, 2013 at 3:58 PM, Emil Lenngren <emil.lenngren at ...626...>wrote:

> Hi Jussi. What is the error message when you use g++?
>
> /Emil
>
>
> 2013/9/21 Jussi Lahtinen <jussi.lahtinen at ...626...>
>
> > > Download 3.1 from Sourceforge and unpack to wherever you want - I used
> > > david/llvm. Then create
> > > a "build" folder within "llvm".
> > > Then from this "build" folder:
> > >
> > > ../configure --prefix=/usr --enable-optimized --enable-jit
> > --enable-shared
> > > make -j2      (for dual core, -j4 for quad core)
> > > sudo make install
> > >
> >
> > I used svn version, but otherwise that is what I tried (among many other
> > options), but it doesn't compile.
> > First problem is in configure, compilers are not found, but it is
> fixable.
> >
> > If I set clang and clang++ as compilers, some include files are not
> found,
> > even when I give the correct path.
> >
> > And if I set gcc and g++ as compilers, then it gives error that some
> > function isn't part of llvm (???).
> >
> >
> >
> >
> > > However LLVM 3.2 appears in the standard Ubuntu repository (I'm using
> > > Ubuntu 12.04) and I haven't
> > > has any trouble with it.
> > >
> >
> > When I compile Gambas, it gives me this requirement:
> > || Unable to find file: libLLVM-3.3svn.so
> > || gb.jit is disabled
> >
> > So I don't think LLVM 3.2 will do it.
> >
> >
> > Jussi
> >
> >
> ------------------------------------------------------------------------------
> > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> > SharePoint
> > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> > includes
> > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list