I am using Ubuntu 10.04, I have installed llvm 2.7 using apt-get(synaptic). I really do not want to install the souce, build it,...... the include is at /usr/include/llvm/ the lib is at /usr/lib/llvm/lib/ the configure stuff is /usr/lib/lvm/build/ the llvm bins is in PATH I am try to write a configure.ac any ideas?
Hi Shaun, I didn't understand what you are trying to achieve, what the problem is. Can you please explain more. Ciao, Duncan.> I am using Ubuntu 10.04, I have installed llvm 2.7 using > apt-get(synaptic). I really do not want to install the souce, build > it,...... > > the include is at /usr/include/llvm/ > the lib is at /usr/lib/llvm/lib/ > the configure stuff is /usr/lib/lvm/build/ > the llvm bins is in PATH > > I am try to write a configure.ac > > any ideas? > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On 2010-11-04 12:50, Shaun savage wrote:> I am using Ubuntu 10.04, I have installed llvm 2.7 using > apt-get(synaptic). I really do not want to install the souce, build > it,...... > > the include is at /usr/include/llvm/ > the lib is at /usr/lib/llvm/lib/ > the configure stuff is /usr/lib/lvm/build/ > the llvm bins is in PATH > > I am try to write a configure.ac > > any ideas? > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >Hi Try make use of the system installed llvm-config script to extract all data you need for configure.ac in your project. You can check how other projects that makes use of llvm have implemented their configure.ac files. example: around line 410 the icedtea projects configure.ac file it will detect what llvm version are installed and if it was built as a shared library or not by making use of llvm-config. http://icedtea.classpath.org/hg/icedtea6/file/tip/configure.ac Cheers Xerxes
Apparently Analagous Threads
- [LLVMdev] final call for projects that work with LLVM 2.7
- [LLVMdev] 2.8 Release notes
- [LLVMdev] LLVM 2.9 release notes + "Projects using LLVM" + API changes
- [LLVMdev] 2.8 Release notes - LLVM r100304 API change and OpenJDK/IcedTea got support
- [LLVMdev] [PATCH] llvm-config: add svn revision to --version