Displaying 3 results from an estimated 3 matches for "dllvm_debian_info".
2008 Jun 02
5
[LLVMdev] The first two lines of llvm tutorial don't compile.
...o such file or directory
g++: 2.2-7): No such file or directory
hendrik at lovesong:~/dv/lang/hlvm$
So I execute the script by itself, and get
hendrik at lovesong:~/dv/lang/hlvm$ llvm-config --cxxflags
-I/usr/include/llvm -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -O2 -fomit-frame-pointer -DLLVM_DEBIAN_INFO= (Debian 2.2-7) -Woverloaded-virtual
hendrik at lovesong:~/dv/lang/hlvm$
Putting that output into the command, and removing the
-DLLVM_DEBIAN_INFO= (Debian 2.2-7) from it, things work
as well as one might expect for a program without main():
hendrik at lovesong:~/dv/lang/hlvm$ g++ -o broken.o...
2008 Jun 02
0
[LLVMdev] The first two lines of llvm tutorial don't compile.
You need to use the script 'llvm-config' to pass correct arguments to g
++:
g++ -o broken.o `llvm-config --cxxflags` broken.cpp
On Jun 2, 2008, at 9:43 AM, Hendrik Boom wrote:
> I took the first two lines of the sample program in the tutorial:
>
>
> hendrik at lovesong:~/dv/lang/hlvm$ cat broken.cpp
> #include "llvm/DerivedTypes.h"
> #include
2008 Jun 02
3
[LLVMdev] The first two lines of llvm tutorial don't compile.
I took the first two lines of the sample program in the tutorial:
hendrik at lovesong:~/dv/lang/hlvm$ cat broken.cpp
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
hendrik at lovesong:~/dv/lang/hlvm$
and tried to compile them using the llvm-dev in Debian testing:
hendrik at lovesong:~/dv/lang/hlvm$ g++ -o broken.o -c broken.cpp
In file included from