yasm
works on Mac OSX (I got it from Homebrew), and it has a GNU as
syntax parser which can be enabled with -p gas
(it may be necessary to also add -r gas
). It is not 100% complete, but it covers mostly everything. It can output to a variety of object formats (if cross-compiling is necessary), and in my opinion it s pretty cool. You can also use NASM syntax (which is completely supported) using -p nasm
(again, -r nasm
may be necessary).
Sorry about necroposting, but this is a still-relevant question and I believe that it needs an acceptable answer.