search for: archive_library

Displaying 4 results from an estimated 4 matches for "archive_library".

2005 May 27
0
[LLVMdev] Lightweight code loader
...so that the individual object files are linked in, and only what you need. However, I'm pretty certain that because of inter-dependencies you'll probably end up with all or most of VMCore anyways unless you're using only a few very specific items. To build an archive library, just add: ARCHIVE_LIBRARY := 1 to the makefile at the top and then link with "LLVMCore.a" instead of just "LLVMCore". > > Second, there is functionality that the loader needs to have that > depends on VMCore, but doesn't actually need it for my purposes. The > main thing is the 're...
2008 Apr 22
2
[LLVMdev] The source code Makefile (newbie with pass registering Problem)
...ulting library. # LOADABLE_MODULE = 1 # USEDLIBS=ga.a # Tell the build system which LLVM libraries your pass needs. You'll probably # need at least LLVMSystem.a, LLVMSupport.a, LLVMCore.a but possibly several # others too. # LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a SHARED_LIBRARY = 1 # ARCHIVE_LIBRARY = 1 DONT_BUILD_RELINKED = 1 # KEEP_SYMBOLS = 1 # LINK_LIBS_IN_SHARED = 1 # Include the makefile implementation stuff include $(LEVEL)/Makefile.common Thanks for your help!! I'm waiting for your answer. cheers, Nicole _______________________________________________________________________...
2005 May 27
3
[LLVMdev] Lightweight code loader
On May 26, Reid Spencer wrote: > Alexander, > > Yes, a patch like that would be accepted. Fewer dependencies = good :) > > Some notes on doing this: > > (1) Please make sure you use the std c++ iostream libraries for doing > I/O. No native calls (we end up with portability problems). If you need > something that must be ported, please add it to lib/System Sure. What
2013 Jul 22
0
[LLVMdev] How to additionally compile the source files in subdirectories when using Makefile?
...le which mypass.c symbols lies in. And LLVMLIBS USEDLIBS doesn't work either. Here is mypass/Makefile LEVEL = ../../.. DIRS = sub LIBRARYNAME = mypass LOADABLE_MODULE = 1 include $(LEVEL)/Makefile.common And mypass/sub/Makefile LEVEL = ../../../.. # LIBRARYNAME = test_sub # ARCHIVE_LIBRARY = 1 # LOADABLE_MODULE = 1 include $(LEVEL)/Makefile.common When mypss/sub/Makefile uses LOADABLE_MODULE = 1 with another library name(test_sub), and by additionally loading it when using opt, it does work but I think there is a better way. Also AFAIK, using cmake is much easier for this ca...