<div class="gmail_quote"><br><br><br>Actually, we have been working on this way, the key to acquire the bitcode file is to write a "dummy_gcc" which can call cc £¦llvm-ld to finish the compiling procedure, since the llvm-gcc cannot invoke llvm-ld to generate LLVM bitcode files for you automatically<div>
<div></div><div class="h5"><div>
<br></div><div><br></div><div><br><div class="gmail_quote">2010/4/20 Yan Lin Aung <span dir="ltr"><<a href="mailto:yan_lin_aung@yahoo.com" target="_blank">yan_lin_aung@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">I would like to have a whole program bitcode file. Any idea?<br><br>--- On <b>Tue, 4/20/10, Nan Zhu <i><<a href="mailto:zhunansjtu@gmail.com" target="_blank">zhunansjtu@gmail.com</a>></i></b> wrote:<br>

<blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px"><br>From: Nan Zhu <<a href="mailto:zhunansjtu@gmail.com" target="_blank">zhunansjtu@gmail.com</a>><br>Subject: Re: [cfe-dev] Makefile with Clang<br>

To: "Yan Lin Aung" <<a href="mailto:yan_lin_aung@yahoo.com" target="_blank">yan_lin_aung@yahoo.com</a>><br>Cc: <a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>Date: Tuesday, April 20, 2010, 1:32 PM<div>

<div></div><div><br><br><div>You mean you want one bitcode file for each C source file or you would like to have a whole program bitcode file?<br><br><div class="gmail_quote">2010/4/20 Yan Lin Aung <span dir="ltr"><<a rel="nofollow" href="http://mc/compose?to=yan_lin_aung@yahoo.com" target="_blank">yan_lin_aung@yahoo.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Hi<br>
<br>
I would like to compile applications which consists of multiple source files (for example, file1.c file2.c, main.c) with Clang using Makefile to get the LLVM bitcode file. Anyone knows how to do that? Thanks.<br>
<br>
With regards<br>
Yan Lin<br>
<br>
<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a rel="nofollow" href="http://mc/compose?to=cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a rel="nofollow" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br>
</div></div></div></blockquote></td></tr></tbody></table><br>







      </blockquote></div><br></div>
</div></div></div><br>