Hi,<br>  We are using llvm for our project on code generation and we are stuck at something very simple but hard to find on the internet. Hence the mail. We need to generate .out (executables that can run on linux) from .s file. We are right now trying it out on coreutils package(who, ls etc). We have generated who.bc, who.s using llvm tools but are unable to get an executable from the .s (rather we dont know how to). <br>
We tried <br>1) llvm-ld (llvm-ld: warning: Ignoring file 'who.bc' because does not contain bitcode.).<br>2) llc -filetype=obj who.bc , followed by ./who.o  (bash: ./who.o: cannot execute binary file)   <br>The above actually carry out .bc to .o translation. We are more interested in .s to .o <br>
<br> We saw this mail on the website and found out we were stuck at kind of the same spot. <a href="http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-May/050143.html">http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-May/050143.html</a><br>
Can you help us with it or maybe direct us to a verbose documentation of how executables are generated? <br clear="all"><br>-- <br>Chinmaya Dattathri<div>cd25658</div><div>UT ECE</div><br>