<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi Juan Carlos,<br><br>It looks to me like you're trying to read in LLVM Assembly and output bitcode. That is the opposite of what -S is supposed to be for. I'm not sure why it isn't recoginizing the -S option but it looks like there's more wrong than what you're reporting.<br><br>--Sam<br></div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><b><span style="font-weight: bold;">From:</span></b> Juan Carlos Martinez Santos <juanc.martinez.santos@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> LLVM Developers Mailing
List <llvmdev@cs.uiuc.edu><br><b><span style="font-weight: bold;">Sent:</span></b> Mon, October 12, 2009 11:59:53 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [LLVMdev] Options in OPT<br></font><br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div>Hello,</div>
<div> </div>
<div>There is an option that I don't know how to used it.</div>
<div> </div>
<div>
<dt><strong><a rel="nofollow" name="item__2ds"><strong>-S</strong></a></strong><br></dt>
<dd>Write output in LLVM intermediate language (instead of bitcode). <br clear="all"></dd></div>
<div></div>
<div> </div>
<div>The option appears in the documentation, but I try to use it... I get the next message:</div>
<div> </div>
<div>~/test$ opt -analyze hello.ll -o hello.bc -S<br>opt: Unknown command line argument '-S'. Try: 'opt --help'</div>
<div> </div>
<div>I also try 'opt --help'; but the option is not listed.</div>
<div> </div>
<div>I am using wrong the -S option, or there is something else.</div>
<div> </div>
<div>Thanks in advance,</div>
<div><br>-- <br>Juan Carlos<br></div>
<meta http-equiv="x-dns-prefetch-control" content="on"></div></div></blockquote></div><br>
</body></html>