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.
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&T syntax.