Hi Mario, On 08/10/09 13:43 +0200, Mario Lang said ... > The examples provided in this package do not build. > > This is most likely due to the following line in > /usr/share/doc/llvm-examples/Makefile.config: > > LLVM_SRC_ROOT := $(shell cd /tmp/buildd/llvm-2.2/build-llvm/..; $(PWD))
Unfortunately, the examples (and other LLVM tools, like clang) currently assume that you are compiling from someplace where the LLVM source tree is accessible. You will have to workaround this by (a) copying the Makefile.* from that /usr/share/doc/llvm-examples/ folder and modifying them appropriately or (b) use your own build-system and use llvm-config. Giridhar -- Y Giridhar Appaji Nag | http://appaji.net/
signature.asc
Description: Digital signature

