Have you tried KDevelop? I think it should be able to compile on Mac OS X without too much trouble, if any.
http://www.kdevelop.org/ (viz http://www.kdevelop.org/ ) I haven't really used it much myself, but it's supposed to be great. -- <http://forum.pspad.com/read.php?2,31422,32806> PSPad freeware editor http://www.pspad.com
