<html><head><style> body {height: 100%; color:#000000; font-size:12pt; font-family:Verdana;}</style></head><body>Duncan,<br><br><span>Yes, I'd been pretty much performing the same diagnosis in parallel - it seems we just don't have that libLLVMSupport library built.</span><br><br>Last night, tried the build of clang a few different ways to get that library built - including specifying the --gcc-toolchain option. No Joy! <br><br><span>Which of the clang/llvm source trees provides it? or is it in another source package? tools? Is there a Special Sauce which I must cook up?</span><br><br><span>Lou Picciano</span><br><span> </span><br><span>(have changed topic title to re-focus on the core issue here!)</span><br><span> </span><br><table width="100%" cellpadding="0" cellspacing="0" class="Msg" style="font-family: Arial; box-sizing: border-box; height: 28px; "><tbody style="box-sizing: border-box; "><tr style="box-sizing: border-box; "><td id="iframeBody" class="MsgBody" valign="top" colspan="2" style="font-family: monospace; box-sizing: border-box; font-size: 13px; border-width: 0px 1px 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-right-color: #b3b3b3; border-bottom-color: #b3b3b3; border-left-color: #b3b3b3; padding: 10px; overflow: auto; "><br><span> </span>Hi,<br><br>On 25/07/13 15:47, Lou Picciano wrote:<br>> Duncan,<br>> Many thanks for your comments.<br>><br>> The core issue we're running into is this:<br>><br>> $ 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><br>llvm-config is supposed to say where the libraries are. Take a look at the<br>output of<br> usr/bin/llvm-config --ldflags<br><br>On my system it outputs<br> -L/usr/local/lib -lrt -ldl -lpthread -lz<br>and indeed libLLVMSupport is there<br> $ ls /usr/local/lib/libLLVMSupport*<br> /usr/local/lib/libLLVMSupport.a<br><br>> ld: fatal: file processing errors. No output written to TargetInfo<br>> collect2: error: ld returned 1 exit status<br>><br>> All other gyrations are attempts to shoehorn LLVMSupport into the compile. I've<br>> been sourcing the Makefile and README for hints.</td></tr></tbody></table></body></html>