Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] Build LLVM as a DLL on Windows x86 [SOLVED]"
2015 Mar 09
2
[LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
Sorry, I am using CMake+JOM or CMake+Ninja, if Ninja is available on the developer’s machine. Either way, it fails in both cases with a message similar to the one I included below (which was obtained using CMake+Ninja).
Just in case, my (current) CMakeLists.txt file can be found at here
2015 Mar 09
2
[LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
Hi,
I have been using LLVM+Clang in my project for some time and it has been
working just fine up to now (I am currently using version 3.5.1).
However, with version 3.6 having just been released, I thought I would give
it a try and update my code to use MCJIT rather than the now discontinued
JIT. Well, this proved to be a relatively smooth process, and everything is
now working fine on
2011 Nov 24
0
[LLVMdev] LLVM 2.9 - JIT problem on Windows
"Alan Garny" <alan.garny at dpag.ox.ac.uk> writes:
> I have built a shared version of LLVM which I am now able to test in my
> Qt-based application. It all works fine on Windows, Linux and Mac OS X,
> except that whenever I exit my Qt-based application on Windows (everything
> is fine on Linux and Mac OS X), I get a message that reads that "this
> application
2011 Nov 24
2
[LLVMdev] LLVM 2.9 - JIT problem on Windows
Hi,
I have built a shared version of LLVM which I am now able to test in my
Qt-based application. It all works fine on Windows, Linux and Mac OS X,
except that whenever I exit my Qt-based application on Windows (everything
is fine on Linux and Mac OS X), I get a message that reads that "this
application has requested the Runtime to terminate it in an unusual way".
'My'
2011 Nov 14
2
[LLVMdev] Build LLVM as a DLL on Windows x86
Hi Takumi,
> > Otherwise,
> > I haven't installed binutils since I don't seem to need it.?
>
> You need binutils, esp. ld, nm, objdump.
>
> FYI, how to browse export table in DLL with objdump; $ objdump -x
> XXX.dll
Ok, I got the latest version of binutils from
http://sourceforge.net/projects/mingw/files/MinGW/Base/binutils/.
> > As you can tell, I am
2011 Nov 13
5
[LLVMdev] Build LLVM as a DLL on Windows x86
Hi,
I need to build a shared version of LLVM on Windows, Linux (both x86 and
x64) and Mac OS X. So far, I have been able to build LLVM on Linux and Mac
OS X, and it's all working fine as confirmed by a small LLVM test code that
I wrote.
However, on Windows, even though I get a DLL, that DLL doesn't contain any
(exported) functions (according to DLL Export Viewer; see
2013 Jan 16
2
[LLVMdev] LLVM 3.2: conflict with Ubuntu 12.04's version 3.0 of LLVM
Hi,
I am working on a Qt project which relies on various plugins, one of which being an LLVM plugin which I build from the LLVM 3.2 source code. Everything works fine on Windows and OS X, but not on Ubuntu 12.04.
Basically, my application runs fine, but when I close it I get a "Segmentation fault (core dumped)". Debugging my application, I found out that, upon shutting down, my
2011 Nov 14
0
[LLVMdev] Build LLVM as a DLL on Windows x86
"Alan Garny" <agarny at hellix.com> writes:
>> GNU make is essential to msys build. I guess msysdtk would have it.
>
> I could find a copy of msysDTK at
> http://sourceforge.net/projects/mingw/files/Other/Unsupported/MSYS/msysDTK/,
> but not only is the 'latest' version a very old version (2003!), but once
> installed I couldn't find a copy of
2015 Apr 01
2
[LLVMdev] Workaround for Bug 22963?
Thanks a lot Reid. It’s much appreciated. I am going to apply your to my local copy of LLVM 3.6 and see how it goes.
Cheers, Alan.
From: Reid Kleckner [mailto:rnk at google.com]
Sent: 01 April 2015 18:56
To: Alan Garny
Cc: LLVM Developers Mailing List
Subject: Re: [LLVMdev] Workaround for Bug 22963?
Thanks for the poke. I fixed the issue in r233819. It'll be in the next point
2015 Mar 10
2
[LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
No, I am currently using MSVC 2013 Update 3. Why? Is there something I should (have) know(n)?
Alan
From: Zachary Turner [mailto:zturner at google.com]
Sent: 10 March 2015 17:40
To: Alan Garny; llvmdev
Subject: Re: [LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
To be certain, are you using MSVC 2013 Update 4?
On Tue, Mar 10, 2015 at 9:18 AM Alan Garny <agarny
2011 Nov 14
0
[LLVMdev] Build LLVM as a DLL on Windows x86
2011/11/13 Alan Garny <agarny at hellix.com>:
> Now, I know that shared libraries are not supported on Windows using CMake
> (according to http://www.llvm.org/docs/CMake.html) which would have been my
> preferred building choice, but I didn’t see anything against them not being
> supported using Autotools, so I thought I would try it that way (as I
> successively did on Linux
2012 Apr 08
0
[LLVMdev] Building LLVM as a shared library using Visual C++ 2010?
On Sat, Apr 7, 2012 at 11:58 PM, Alan Garny <agarny at hellix.com> wrote:
> Óscar Fuentes <ofv at wanadoo.es> writes:
> > Michael Spencer <bigcheesegs at gmail.com> writes:
> > > The problem is that MSVC++ requires sprinkling
> > > __declspec(dllexport/dllimport) all over the code, and we really don't
> > > want to deal with maintaining
2013 Jun 21
0
[LLVMdev] LLVM+Clang 3.3: clang: for the -vectorize-loops option: may only occur zero or one times!
Hi,
I can confirm this problem. We use clang's libtooling ToolInvocation object
and the second module fails to compile even through it's a completely fresh
instance.
Adding -fno-vectorize explicitly seems to work around this problem, but
does anyone know a real fix?
ciao,
Mario
Am 20.06.13 15:07, schrieb Alan Garny:
> My application generates some C code which I then compile using
2012 Apr 08
2
[LLVMdev] Building LLVM as a shared library using Visual C++ 2010?
Óscar Fuentes <ofv at wanadoo.es> writes:
> Michael Spencer <bigcheesegs at gmail.com> writes:
> > The problem is that MSVC++ requires sprinkling
> > __declspec(dllexport/dllimport) all over the code, and we really don't
> > want to deal with maintaining that, as most developers have little to
> > no experience with Windows DLLs.
>
> BTW, you
2015 Mar 10
2
[LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
> > So… my question is: why?! More importantly: what do I need to do to be
> > able to export/import a class such as clang::driver::Compilation?
>
> It looks like MSVC is trying to synthesize and export the copy assignment
> operator and copy constructur. This is interesting, as I thought it wouldn't do
> that if the class turns out not to be non-copyable.
>
>
2013 Jun 20
2
[LLVMdev] LLVM+Clang 3.3: clang: for the -vectorize-loops option: may only occur zero or one times!
Hi,
My application generates some C code which I then compile using LLVM+Clang
before running it. For the compilation side of things, I have a class which
one of the methods (the CompilerEngine::compileCode() method in
https://raw.github.com/opencor/opencor/llvm_3.3/src/plugins/misc/Compiler/sr
c/compilerengine.cpp) is based on the code from the clang-interpreter
example
2012 Apr 13
0
[LLVMdev] Building LLVM as a shared library using Visual C++ 2010?
It seems to be that LLVM doesn't make sense as a shared library. The
surface area of the interface is massive, and in constant flux. I would
think in real world situations, a domain specific interface with a more
focused public interface would the right solution.
On Fri, Apr 6, 2012 at 6:15 PM, Alan Garny <agarny at hellix.com> wrote:
> Hi,****
>
> ** **
>
> From what I
2015 Apr 01
2
[LLVMdev] Workaround for Bug 22963?
Hi,
I have recently upgraded my project to LLVM 3.6 and I am wondering whether I
should have waited for version 3.6.1. With JIT having been officially
superseded by MCJIT, I updated my code and got everything working fine on
64-bit Windows, 32-bit/64-bit Linux and OS X, but it's not working properly
on 32-bit Windows.
Basically, the issue I am having is similar to the one reported in
2013 Jan 16
0
[LLVMdev] LLVM 3.2: conflict with Ubuntu 12.04's version 3.0 of LLVM
Alan Garny <agarny at hellix.com> writes:
> Basically, my application runs fine, but when I close it I get a
> "Segmentation fault (core dumped)". Debugging my application, I found
> out that, upon shutting down, my application tries to call Ubuntu's
> version of LLVM (see below for the debug trace). To convince myself
> that it was really the case, I sudo
2012 Apr 07
5
[LLVMdev] Building LLVM as a shared library using Visual C++ 2010?
Hi,
>From what I have seen on this mailing list and elsewhere, it would seem that
it isn't possible to build LLVM as a shared library using Visual C++. Still,
I would imagine that quite a few people are or would be interested in it,
so. is there any plan to support this any time soon? This, unless it's
already supported in some way or another which I am not aware of.? I have
been