[LLVMdev] The first two lines of llvm tutorial don't compile.

Owen Anderson resistor at mac.com
Mon Jun 2 10:47:02 PDT 2008

On Jun 2, 2008, at 10:10 AM, Hendrik Boom wrote:

> On Mon, 02 Jun 2008 09:52:16 -0700, Thomas Hudson wrote:
> 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():

I've seen this (or something similar) happen before on Darwin.  The  
issue is that something, either inside llvm-config or in the script  
that generates llvm-config should be putting quotes around the  
parameters in quotes.


More information about the llvm-dev mailing list