You can use -S flag to make clang output only assembly. After that, you can invoke your as and ld manually.<br><br><div class="gmail_quote">On Wed, Aug 4, 2010 at 1:25 PM, Liu <span dir="ltr"><<a href="mailto:proljc@gmail.com">proljc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all<div>I want to compile glibc using clang, it need specify AS LD CC CPP and so on, I can sepcify CC=clang CPP= clang -E, but, how can I specify AS and LD? Which Clang Flag should I use?</div>
<div>Thanks for your time. </div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br>