I am looking for a C compiler that runs on mac and it needs to compile to 8086 16 bit real mode machine code.
You can try using Borland's Turbo C inside DosBox or something like that. That way you can actually run whatever you compile.
I've run some antique 16 bit DOS code under it and it works flawlessly.