2009/7/1 Juan Carlos Martinez Santos <span dir="ltr"><<a href="mailto:juanc.martinez.santos@gmail.com">juanc.martinez.santos@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I used the snapshots for the latest stable version (70786), and I followed the instructions inside of README file (very clear!!!)<br><br>However, when I ran the hello program, I get an unrecognized option message. Bellow are the details.<br>

<br>============================================<br>jcmartin78@jcmartin78-laptop:~/LLVM/my-test$ llvmc hello.c<br>as: unrecognized option '-meabi=4'<br>============================================</blockquote><div>
<br></div><div>Sorry, this was my fault.  I used the flags --with-gnu-{as,ld} instead of --with-{as,ld} to specify paths to the cross assembler and linker, but it turns out that the former pair of flags are boolean (i.e., telling GCC whether the tools are GNU or not), and the latter are the ones that accept a path.</div>
<div><br></div><div>So, llvm-gcc wasn't finding the correct cross-tool assembler and was using /usr/bin/as instead, which doesn't support ARM, and hence doesn't accept "-meabi=4".  I've fixed this in SVN.</div>
<div><br></div><div>The reason I didn't come across this issue is that I was using llvm-gcc phase-by-phase (as you've found it works), instead of generating binaries directly from llvm-gcc.</div></div>