My understanding is that you can build both architectures on both architectures, but I don't have first-hand experience. I don't think MAME's build system would allow building a universal binary but you could probably glue together the architectures manually with the command line tools.