title: Is it possible to produce a plain binary file only using GNU Assembler on Mac OS X?
body: <p>I wrote some assembly code for x86, and wanted to assemble it into plain binary file (not Mach-O) by just using Mac's default assembler (the 'as'). After several googlings and tries, I failed. </p>
  
  <p>Though I know how to do it with NASM (using option: -f binary), I don't want to do so. Because my code was written in and I was used to AT&amp;T syntax.</p>