search for: enable_shared

Displaying 16 results from an estimated 16 matches for "enable_shared".

2010 Aug 15
0
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...ou in advance...Takumi -------------- next part -------------- diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest index 2a701a0..9a75b2c 100644 --- a/unittests/Makefile.unittest +++ b/unittests/Makefile.unittest @@ -37,10 +37,10 @@ TESTLIBS = -lGoogleTest -lUnitTestMain ifeq ($(ENABLE_SHARED), 1) # Add the absolute path to the dynamic library. This is ok because # we'll never install unittests. - LD.Flags += $(RPATH) -Wl,$(LibDir) + LD.Flags += $(RPATH) -Wl,$(SharedLibDir) # Also set {DYLD,LD}_LIBRARY_PATH because OSX ignores the rpath most # of the time. - Run.Shar...
2011 Nov 05
1
[LLVMdev] Patch to enable LLVM to build successfully with shared library support disabled
I checked out llvm/trunk today and found that it failed to build successfully on Linux when 'configure' was invoked with '--disable-shared' and CFLAGS included '-static'. The attached patch modifies a few Makefiles to prevent attempts to build shared libraries when ENABLE_SHARED is not set to 1. Apply the patch in the LLVM root directory with 'patch -p1 ...' This patch contains a change to tools/Makefile that changes behavior for Cygwin and MingW platforms. The previous logic would filter out 'bugpoint-passes' from the list of modules to build if the h...
2010 Aug 05
3
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...her components. +ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) + ifdef LOADABLE_MODULE + LINK_COMPONENTS := all + endif +endif + ifndef IS_CLEANING_TARGET ifdef LINK_COMPONENTS @@ -972,8 +996,13 @@ $(LLVM_CONFIG): $(ToolDir)/$(strip $(TOOLNAME))$(EXEEXT): $(LLVM_CONFIG) ifeq ($(ENABLE_SHARED), 1) +# We can take the "auto-import" feature to get rid of using dllimport. +ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) +LLVMLibsOptions += -Wl,--enable-auto-import,--enable-runtime-pseudo-reloc \ + -L $(SharedLibDir) +endif LLVMLibsOptions += -lLLVM-$(LLVMV...
2010 Aug 05
0
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
Hi Takumi, > Any feedbacks are welcome. > Have fun! This seems to be pretty useful addition to LLVM on windows! And it seems the only painless way to make plugins working, yay! For me the patch looks pretty good. One minor thing: could you please rename SharedDir => SharedLibDir Thanks! -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg
2010 Aug 05
2
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
Good summer, all! This patch enables ENABLE_SHARED=1 to build DLL based LLVM toolchain. I have checked this on Cygwin-1.5, Cygwin-1.7, mingw(msysgit) and mingw-cross-fedora12. I can separate this patch into some parts; cleanups, adding definitions and adding rules. Any feedbacks are welcome. Have fun! ...Takumi * Pros - reduction of linking...
2010 Oct 27
2
[LLVMdev] [diff] let llvm-shlib build on OpenBSD
Hi, llvmdev! The diff attached takes the features of OpenBSD binutils into account (which needs --whole-archive) and makes build with ENABLE_SHARED successful. -------------- next part -------------- Index: tools/llvm-shlib/Makefile =================================================================== --- tools/llvm-shlib/Makefile (revision 117443) +++ tools/llvm-shlib/Makefile (working copy) @@ -61,10 +61,12 @@ endif endif -ifeq ($(HOST...
2009 Mar 30
3
[Bug 588] New: make ipv6 optional in iptables
http://bugzilla.netfilter.org/show_bug.cgi?id=588 Summary: make ipv6 optional in iptables Product: iptables Version: CVS (please indicate timestamp) Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P1 Component: ip6tables AssignedTo: laforge at netfilter.org
2010 Sep 06
1
[LLVMdev] RFC: change build order (or location) of LLVMHello plugin
Good evening, Michael. 2010/9/5 Michael Spencer <bigcheesegs at gmail.com>: > Do you know what the exact problem is? It would be best to fix the > Makefile instead of moving it. And sense it is a transformation, the > build system is broken if you _have_ to move it. I am sorry, I don't understand what *the exact problem" is. I can describe facts; - Hello is the only
2010 Oct 27
0
[LLVMdev] [diff] let llvm-shlib build on OpenBSD
...bug.cgi?id=8434 I will commit them fused tomorrow, if no one objects. ...Takumi 2010/10/27 Vladimir Kirillov <proger at uaoug.org.ua>: > Hi, llvmdev! > > The diff attached takes the features of OpenBSD binutils into account > (which needs --whole-archive) and makes build with ENABLE_SHARED > successful. > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >
2016 Nov 18
2
Questions about the methods of compilation.
...O.a and libLTO.so, why the library LTO were generated for static and dynamic both? How to control the generation of the library file, could it be controlled in the file Makefile.config? One item of the Makefile.config is as follow. # Do we want to build a shared library and link the tools with it? ENABLE_SHARED := 0 Second, I followed the pass specification of the llvm ( http://llvm.org/docs/WritingAnLLVMPass.html) and wrote my own pass to do something. However, why did it generate the dynamic library (*.so) just like the example of the specification of LLVMHello.so rather than a static library because...
2011 Dec 13
1
[LLVMdev] [PATCH] utils/unittest: Consistency of gtest and gtest_main libs.
...ittests/Makefile.unittest index 580ad7d..bd32aed 100644 --- a/unittests/Makefile.unittest +++ b/unittests/Makefile.unittest @@ -34,7 +34,7 @@ ifneq ($(HAVE_PTHREAD), 1) CPP.Flags += -DGTEST_HAS_PTHREAD=0 endif -TESTLIBS = -lGoogleTest -lUnitTestMain +TESTLIBS = -lgtest -lgtest_main ifeq ($(ENABLE_SHARED), 1) ifneq (,$(RPATH)) diff --git a/utils/llvm-build/llvmbuild/componentinfo.py b/utils/llvm-build/llvmbuild/componentinfo.py index 230ae21..3aa1e86 100644 --- a/utils/llvm-build/llvmbuild/componentinfo.py +++ b/utils/llvm-build/llvmbuild/componentinfo.py @@ -159,8 +159,8 @@ class LibraryCompone...
2010 Oct 28
1
[LLVMdev] [diff] let llvm-shlib build on OpenBSD
...tomorrow, if no one objects. > > > ...Takumi > > > 2010/10/27 Vladimir Kirillov <proger at uaoug.org.ua>: >> Hi, llvmdev! >> >> The diff attached takes the features of OpenBSD binutils into account >> (which needs --whole-archive) and makes build with ENABLE_SHARED >> successful. >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
2010 Jun 14
0
[LLVMdev] Win32 COFF Support
I have not, I was going to look at it tonight. I tried an earlier version and got stuck trying to figure out how to invoke lit.py. Looking over ' http://llvm.org/docs/TestingGuide.html' its still clear to be how to do that. In my setup, I have an out of tree build. Could you give be an example of the command line to invoke the tests? -Nathan On Mon, Jun 14, 2010 at 1:47 PM, Michael
2007 Jul 07
1
Compiling swfdec without GTK
...oss compile swfdec-0.4.5 for ARM9. But before that I am planning to compile it on my x86 machine without GTK support. I have already compiled it with GTK. But if I disable GTK then I am getting error messages while compiling test directory. I have used following configuration options: ./configure enable_shared=no enable_static=yes enable_mad=no enable_gtk_doc=no enable_ffmpeg=no enable_gtk=no enable_gnome_vfs=no enable_gstreamer=no with_audio=none Following are the error messages: make[3]: Entering directory `/home/FlashLibs/swfdec-0.4.5/test' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAV...
2010 Jun 14
2
[LLVMdev] Win32 COFF Support
On Jun 14, 2010, at 3:41 PM, Nathan Jeffords <blunted2night at gmail.com> wrote: > Michael, > > I have not made any changes since I last posted a patch. If you > would like to make the final updates, thats fine by me. I don't mind > making the changes either, I can have them done this evening as well. I'll let you do it then, along with sorting out the macros.
2012 Feb 10
3
Installing from source missing -lruby18 in linking.
I am trying to build wxruby from source, but I have encounter an error. For some reason the ''rake'' command fail when it tries to link lib/wxruby2.so because it is missing missing -lruby18 resulting in errors like wx.cpp:(.text+0x1618): undefined reference to `rb_intern'' wx.cpp:(.text+0x165c): undefined reference to `rb_eNotImpError'' wx.cpp:(.text+0x1666):