<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Tanks for reply :)<br>
<br>
<font size="4">llvm-gcc -emit-llvm -c foo.c -o foo.bc<br>
  <br>
I want to pass a input file to foo.c that contains a picture. how can do it?<br>
</font></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> zhangzuyu <hitzzy@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Rahil Rahimian <rahil_rahimian@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "llvmdev@cs.uiuc.edu" <llvmdev@cs.uiuc.edu> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, December 2, 2011 1:41 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [LLVMdev] llvm-gcc<br> </font> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv206831207"><br><br><div class="yiv206831207gmail_quote">On Fri, Dec 2, 2011 at 4:07 PM, Rahil Rahimian <span dir="ltr"><<a rel="nofollow" ymailto="mailto:rahil_rahimian@yahoo.com" target="_blank" href="mailto:rahil_rahimian@yahoo.com">rahil_rahimian@yahoo.com</a>></span> wrote:<br><blockquote class="yiv206831207gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>Hi ,<br></div><div><br></div><div>I want to create a bc file by llvm-gcc, and need to pass a input file when create this file,</div>

<div>how can i do it?I saw options in "<b>llvm-gcc</b><span style="color:rgb(0,0,0);font-family:Arial, Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:16px;display:inline!important;float:none;"><span> </span>[</span><i>options</i><span style="color:rgb(0,0,0);font-family:Arial, Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium;display:inline!important;float:none;">]<span> </span></span><i>filename" but it could not help me.</i></div>

<div><br></div></div></div></blockquote><div><br></div><div><font size="4">llvm-gcc -emit-llvm -c foo.c -o foo.bc</font></div><div><br></div><div> </div><blockquote class="yiv206831207gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><i></i></div>

<div><i>I have an another
 problem too. my program contains some C file , that main function use those, but i don't know how create bc file with regard to other file. </i></div><div><br></div></div></div></blockquote><div><br></div><div><span style="font-size:large;">llvm-gcc -emit-llvm -c main.c foo.c -combine -o main.bc</span></div>

<div><span style="font-size:large;"><br></span></div><div><span style="font-size:large;">Do you mean this?</span></div><div><span style="font-size:large;"><br></span></div><div> </div><blockquote class="yiv206831207gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><i></i></div>

<div><br><i></i></div>

<div><i>tanks,<br>

</i></div></div></div><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a rel="nofollow" ymailto="mailto:LLVMdev@cs.uiuc.edu" target="_blank" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         http://llvm.cs.uiuc.edu<br>
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><span style="font-family:arial, sans-serif;font-size:11px;background-color:rgb(255, 255, 255);">Yours truly,</span><br>Zhang Zuyu(张祖羽)<br><br>-----------------------------------------------------------<br>

College of Computer Science and Technology, Harbin Engineering University</div>
<div><br></div><div style=""></div><br>
</div><meta http-equiv="x-dns-prefetch-control" content="on"><br><br> </div> </div>  </div></body></html>