similar to: [LLVMdev] Compile dll on Mingw

Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Compile dll on Mingw"

2010 Sep 02
0
[LLVMdev] Compile dll on Mingw
Hello, Yuan > I'm a newbie about llvm. Now, our project need the dynamic link library(dll) > about all of llvm library, such as libLLVMCore.dll, libLLVMSupport.dll, and > so on. How should I do? You may do, "/path/to/configure --enable-shared=yes", to build LLVM-2.8svn.dll. On your project, you have to specify to linker, "-L/path/to/dll -lLLVM-2.8svn" (maybe with
2010 Sep 02
3
[LLVMdev] Compile dll on Mingw
Hello, NAKAMURA Takumi As you said, I check out the head from svn trunk. I build the source code as the following steps: $./configure --enable-shared $ make After 1 hour, the building procedure is stopped and appear the following error message: c:/strawberry/c/bin/../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw 32/bin/ld.exe:
2010 Sep 02
0
[LLVMdev] Compile dll on Mingw
Good evening, Yuan Excuse me, I gave up Debug build earlier due to my poor hosts. I will improve able to build Debug ;) You may build with --enable-optimized=yes (or, make ENABLE_OPTIMIZED=1) btw, DLL builder has implemented since Aug. It might be easier to port DLL stuff to 2.6 :) Do you try? ...Takumi 2010年9月2日 17:16:25 UTC+9 yuan zheng <tsinghuayuan86 at gmail.com>: > Hello,
2010 Sep 02
1
[LLVMdev] Compile dll on Mingw
2010/9/2 NAKAMURA Takumi <geek4civic at gmail.com>: > Good evening, Yuan > > Excuse me, I gave up Debug build earlier due to my poor hosts. > I will improve able to build Debug ;) > > You may build with --enable-optimized=yes > (or, make ENABLE_OPTIMIZED=1) > > btw, DLL builder has implemented since Aug. > It might be easier to port DLL stuff to 2.6 :) Do you
2013 Dec 17
2
[LLVMdev] CMake changes
Hi, Takumi. Your CMake changes seem to be working just fine with the standalone Xcode build. However, the build products are still being put in bin/Debug instead of Debug/bin. Was that supposed to change yet? Maybe Xcode needs different settings? (I think I looked into this once and it was non-trivial to change for Xcode, so if it's working for you I guess you don't need to worry about
2013 Dec 18
2
[LLVMdev] CMake changes
On Dec 17, 2013, at 9:32 , Jordan Rose <jordan_rose at apple.com> wrote: > > On Dec 17, 2013, at 9:24 , Jordan Rose <jordan_rose at apple.com> wrote: > >> Hi, Takumi. Your CMake changes seem to be working just fine with the standalone Xcode build. However, the build products are still being put in bin/Debug instead of Debug/bin. Was that supposed to change yet? Maybe
2006 Aug 03
0
[LLVMdev] Building llvm under cygwin
Hello Anton Thu, 3 Aug 2006 15:06:56 +0400 you wrote: > here it is in the attachment :) Ok. Could you also send LibDeps.txt file? It should be in /obj/tools/llvm-config directory -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2006 Aug 04
1
[LLVMdev] Building llvm under cygwin
Hello Anton Fri, 4 Aug 2006 21:45:19 +0400 you wrote: > Written by Mike Haertel and Paul Eggert. > I've updated llvm and llvm-gcc4 ant trying to build it again after > PR845 was resolved. According to Reid's letter this PR coud be the > reason of my problem. Anyway, "sort" call can cause large problems depending, where in your PATH cygwin directory is (before
2017 Aug 26
2
building release_50 with gcc7.2.0 on MacOS: duplicate symbol llvm::DominatorTreeBase
This is release_50 branch of git, sha1: f1d5723be3f9456a6b16cdf687847ac2918846de Using gcc 7.2.0 from homebrew. $ CC=/usr/local/opt/gcc/bin/x86_64-apple-darwin16.7.0-gcc-7 CXX=/usr/local/opt/gcc/bin/x86_64-apple-darwin16.7.0-g++-7 cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Users/andy/local/llvm5 -DCMAKE_PREFIX_PATH=/Users/andy/local/llvm5 $ make VERBOSE=1 [ 92%] Linking CXX
2006 Aug 01
15
[LLVMdev] Building llvm under cygwin
> > If you're building llvm-gcc4, you don't need the runtime libraries, so > I'd just stick with the "tools-only" build and declare success. If > you're building llvm-gcc3, I'd suggest you switch to llvm-gcc4 :) I switched to llvm-gcc4 but when I run make from obj folder i run into folowing errors: Can't find a library with no dependencies at
2013 Dec 17
0
[LLVMdev] CMake changes
On Dec 17, 2013, at 9:24 , Jordan Rose <jordan_rose at apple.com> wrote: > Hi, Takumi. Your CMake changes seem to be working just fine with the standalone Xcode build. However, the build products are still being put in bin/Debug instead of Debug/bin. Was that supposed to change yet? Maybe Xcode needs different settings? > > (I think I looked into this once and it was non-trivial
2018 May 31
2
Miscompilation while switching from clang-4 to clang-5
Hi Tom, hi Michael, Thank you for your help. I understand the linking problem. What I do not understand is how to debug the difference between two versions of compilers. This what I do (briefly): clang++-4 foobar.cpp -lLLVM -l/opt/llvm-3.9/lib clang++-5 foobar.cpp -lLLVM -l/opt/llvm-3.9/lib The first command produces a working executable, while the other one does not. I'm trying to
2006 Aug 03
0
[LLVMdev] Building llvm under cygwin
Hello Anton Thu, 3 Aug 2006 12:38:54 +0400 you wrote: > I've updated it yesterday and rebuilt - llvm built fine. But when > building llvm-gcc4 (also updated yesterday from new /trunk > directory) it fails with the same error. You might easily get llvm-gcc4-mingw32 binaries from "prerelease" directory. Since stdcall, fastcall & dllimport stuff is unsupported right now,
2013 Dec 18
0
[LLVMdev] CMake changes
On Dec 18, 2013, at 9:44 , Jordan Rose <jordan_rose at apple.com> wrote: > > On Dec 17, 2013, at 9:32 , Jordan Rose <jordan_rose at apple.com> wrote: > >> >> On Dec 17, 2013, at 9:24 , Jordan Rose <jordan_rose at apple.com> wrote: >> >>> Hi, Takumi. Your CMake changes seem to be working just fine with the standalone Xcode build. However,
2014 Mar 26
7
[LLVMdev] Lots of regtest failures on PPC64/Linux
Hi, Recent trunk has a lot of failures on PPC64/Linux. One seems to be crash with a backtrace like: [ 3149s] -- [ 3149s] 0 libLLVMSupport.so 0x00003fff7ed0b864 llvm::sys::PrintStackTrace(_IO_FILE*) + 4294746876 [ 3149s] 1 libLLVMSupport.so 0x00003fff7ed0bb1c [ 3149s] 2 libLLVMSupport.so 0x00003fff7ed0c520 [ 3149s] 3 linux-vdso64.so.1 0x00003fff7f7b0478 __kernel_sigtramp_rt64 + 0 [ 3149s] 4
2010 Apr 16
1
TeachingDemos install bumps out with 'Out of memory!'
The same thing that happened to my 'maptools' (http://permalink.gmane.org/gmane.comp.lang.r.general/177404) also hits me here: It eats all memory until the system dies. Alas, in this case, no Ubuntu package. Since I installed some tens of packages with the same method in the meantime, I guess something must be wrong with the install.packages; at least on Ubuntu9.10, amd64. (And I am not
2010 Mar 11
1
failed to execute child process
Long story short - very newbie on Linux. Loaded successfully Ubuntu9.10. Intrigued by Samba, tried to load newest version. Screwed up something, so tried to uninstall then re-install. Now getting "Could not launch samba" with message 'Failed to execute child process "/usr/lib/samba/ldb/samba3sam.so" (no such file or directory). Version is 2:3.4.0-3ubuntu5.4 Noted
2006 Jun 03
3
[LLVMdev] Heads Up: libLLVMCore.a and loadable modules
The recent change in the library structure to make libLLVMCore.a instead of LLVMCore.o has caused a little fallout. The problem is LLVM tools that take a --load option to load a module dynamically may now cause those modules to fail to load at runtime. This occurs because the tool with the --load option might not be linking in all of libLLVMCore.a, but only the object modules actually needed by
2013 Jun 18
2
[LLVMdev] Failure handling half type
Here there is the dump: SelectionDAG.cpp:81: static bool llvm::ConstantFPSDNode::isValueValidForType(llvm::EVT, const llvm::APFloat &): Assertion `VT.isFloatingPoint() && "Can only convert between FP types"' failed. 0 libLLVMSupport.so 0x00007f7405022de5 llvm::sys::PrintStackTrace(_IO_FILE*) + 37 1 libLLVMSupport.so 0x00007f74050232e3 2 libpthread.so.0
2011 Aug 03
0
[LLVMdev] Building LLVM on Solaris/Sparc
On Apr 5, 2011, at 10:53 AM, Tarun Pondicherry wrote: > Hi, > > I'm trying to build llvm on a Solaris/Sparc machine. I get many undefined symbols during the link phase of opt. The link command being run is below. > > It is identical to the link command that gets run and works on an x86 host. > > Thanks, > Tarun > > g++