<html><head><style> body {height: 100%; color:#000000; font-size:12pt; font-family:Verdana;}</style></head><body><span style="font-size: 16px; ">Duncan,</span><br><span>Many thanks for your comments.</span><br><br>The core issue we're running into is this:<br><blockquote><span style="font-family: 'Courier New';">$ GCC=/usr/bin/gcc LLVM_CONFIG=/usr/bin/llvm-config make<br>Compiling utils/TargetInfo.cpp<br>Linking TargetInfo<br>ld: fatal: library -lLLVMSupport: not found<br>ld: fatal: file processing errors. No output written to TargetInfo<br>collect2: error: ld returned 1 exit status</span></blockquote>All other gyrations are attempts to shoehorn LLVMSupport into the compile. I've been sourcing the Makefile and README for hints.<br><br><span>To your point on declaring the location of gcc: Oddly, though gcc (4.7) is available to the environment, the Makefile does not find it without explicit direction:</span><span><br></span><blockquote><span><span style="font-family: 'Courier New';">dragonegg-3.3.src$ make                                                          <br></span></span><span><span style="font-family: 'Courier New';">make: cc: Command not found</span></span></blockquote>Thanks in advance, Lou Picciano<br><span> </span><br>(and apologies for the top posting; crappy email client)<br><span> </span><br><span style="font-family: monospace; font-size: 13px; ">On 25/07/13 04:38, Lou Picciano wrote:<br></span><span style="font-family: monospace; font-size: 13px; ">> LLVM Friends,<br></span><span style="font-family: monospace; font-size: 13px; ">><br></span><span style="font-family: monospace; font-size: 13px; ">> First time attempting a build of dragonegg, using our shiny new install of<br></span><span style="font-family: monospace; font-size: 13px; ">> clang-3.3. I'm clearly off to a terrifying start!<br></span><span style="font-family: monospace; font-size: 13px; ">><br></span><span style="font-family: monospace; font-size: 13px; ">><br></span><span style="font-family: monospace; font-size: 13px; ">> dragonegg-3.3.src$ CXX=/usr/bin/gcc</span><br><span style="font-family: monospace; font-size: 13px; ">This says to compile using gcc</span><br><span style="font-family: monospace; font-size: 13px; ">  GCC=/usr/bin/gcc</span><br><span style="font-family: monospace; font-size: 13px; ">This says that the plugin will be used with /usr/bin/gcc when built.</span><br><span style="font-family: monospace; font-size: 13px; ">  ENABLE_LLVM_PLUGINS=1<br></span><span style="font-family: monospace; font-size: 13px; ">> LLVM_CONFIG=/usr/bin/llvm-config</span><br><br><span style="font-family: monospace; font-size: 13px; ">CFLAGS=-I/usr/clang/3.3/lib/clang/3.3/include<br></span><span style="font-family: monospace; font-size: 13px; ">> CXXFLAGS="-I/usr/clang/3.3/lib/clang/3.3/include"</span><br><span style="font-family: monospace; font-size: 13px; ">These say to use clang headers.  Not sure why you want to use clang headers when<br></span><span style="font-family: monospace; font-size: 13px; ">compiling using gcc.</span><br><span style="font-family: monospace; font-size: 13px; ">  make<br></span><span style="font-family: monospace; font-size: 13px; ">><br></span><span style="font-family: monospace; font-size: 13px; ">> Compiling utils/TargetInfo.cpp<br></span><span style="font-family: monospace; font-size: 13px; ">> In file included from /usr/clang/3.3/include/llvm/Support/DataTypes.h:67:0,<br></span><span style="font-family: monospace; font-size: 13px; ">>                   from /usr/clang/3.3/include/llvm/Support/type_traits.h:20,<br></span><span style="font-family: monospace; font-size: 13px; ">>                   from /usr/clang/3.3/include/llvm/ADT/StringRef.h:13,<br></span><span style="font-family: monospace; font-size: 13px; ">>                   from /usr/clang/3.3/include/llvm/ADT/Twine.h:13,<br></span><span style="font-family: monospace; font-size: 13px; ">>                   from /usr/clang/3.3/include/llvm/ADT/Triple.h:13,<br></span><span style="font-family: monospace; font-size: 13px; ">>                   from<br></span><span style="font-family: monospace; font-size: 13px; ">> /home/drlou/Downloads/dragonegg-3.3.src/utils/TargetInfo.cpp:23:<br></span><span style="font-family: monospace; font-size: 13px; ">> /usr/clang/3.3/lib/clang/3.3/include/stdint.h:32:54: error: missing binary<br></span><span style="font-family: monospace; font-size: 13px; ">> operator before token "("</span><br><span style="font-family: monospace; font-size: 13px; ">This seems to be saying that gcc doesn't like the clang headers.  I suggest you<br></span><span style="font-family: monospace; font-size: 13px; ">don't use them.</span><br><span style="font-family: monospace; font-size: 13px; ">Anyway, not sure why you are trying to do this so complicated, doesn't this<br></span><span style="font-family: monospace; font-size: 13px; ">work:<br></span><span style="font-family: monospace; font-size: 13px; ">   make<br></span><span style="font-family: monospace; font-size: 13px; ">?</span><br><span style="font-family: monospace; font-size: 13px; ">Other comments:<br></span><span style="font-family: monospace; font-size: 13px; ">   CXX is for providing a C++ compiler, so should be g++ not gcc<br></span><span style="font-family: monospace; font-size: 13px; ">    Since /usr/bin/gcc is in your path, probably you don't need CXX to force this<br></span><span style="font-family: monospace; font-size: 13px; ">    compiler (or did you put clang in front of it in your path?; if so it still<br></span><span style="font-family: monospace; font-size: 13px; ">    shouldn't be needed since clang can also compile dragonegg)</span><br><span style="font-family: monospace; font-size: 13px; ">   GCC=/usr/bin/gcc is probably not needed, since it is the default</span><br><span style="font-family: monospace; font-size: 13px; ">Ciao, Duncan.</span></body></html>