Package: llvm-dev
Version: 2.2-7

I took a two-line program (the first two lines of the LLVM tutorial example:
[EMAIL PROTECTED]:~/dv/lang/hlvm$ cat broken.cpp
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
[EMAIL PROTECTED]:~/dv/lang/hlvm$

and tried to compile it:

[EMAIL PROTECTED]:~/dv/lang/hlvm$ g++ -o broken.o `llvm-config --cxxflags` 
broken.cpp
g++: (Debian: No such file or directory
g++: 2.2-7): No such file or directory
[EMAIL PROTECTED]:~/dv/lang/hlvm$

I execute the llvm-config script by itself, and see what has happened:

[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/dv/lang/hlvm$

There's junk in the options, to wit, 

-DLLVM_DEBIAN_INFO= (Debian 2.2-7)

Presumably there should be quotation marks in there.

-- hendrik




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to