search for: libsample

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

Did you mean: libresample
2012 Mar 14
2
[LLVMdev] Linking static external library into an LLVM pass library?
...ed to statically link libraries: USEDLIBSThis variable holds a space separated list of libraries that should be linked into the program. These libraries must be libraries that come from your *lib* directory. The libraries must be specified without their "lib" prefix. For example, to link libsample.a, you would set USEDLIBS to sample.a. Note that this works only for statically linked libraries. But, what is that "lib" directory? How can I specify external libxyz.a file that doesn't live in this libs directory? Anybody has done this? Thanks! Welson -------------- next part...
2008 Apr 15
1
[LLVMdev] Linking to LLVM libs from new project
...tions to configure.ac and the tools/sample/Makefile, but I can't figure out what those changes should be. Since the linker doesn't know how to get the library, I get an error now when I run make: $ make llvm[2]: Compiling sample.c for Release build llvm[2]: Building Release Archive Library libsample.a llvm[2]: Compiling calc.cpp for Release build llvm[2]: Building Release Archive Library libcalc.a llvm[2]: Compiling main.cpp for Release build main.cpp: In function 'int main(int, char**)': main.cpp:16: warning: unused variable 'module' llvm[2]: Linking Release executable Sample...
2008 Apr 13
0
[LLVMdev] Setting up new project
...commands config.status: executing tools/Makefile commands config.status: executing tools/sample/Makefile commands (Obviously change the above path from /opt/src-llvm to wherever your llvm directory is) $ make llvm[2]: Compiling sample.c for Release build llvm[2]: Building Release Archive Library libsample.a llvm[2]: Compiling main.c for Release build llvm[2]: Linking Release executable Sample (without symbols) llvm[2]: ======= Finished Linking Release Executable Sample (without symbols) Might I suggest that the above edit be applied to llvm/projects/sample/autoconf/AutoRegen.sh, and perhaps mentio...
2008 Apr 12
3
[LLVMdev] Setting up new project
Try using the --with-llvmsrc and --with-llvmobj options to explicitly set the locations of your LLVM source tree and object tree, respectively. I faintly recall seeing this error and seem to recall using these options to work around it. -- John T. ________________________________________ From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] On Behalf Of Lane Schwartz [dowobeha at