How do I cross-compile for MAC/OS X

I’m probably missing something here ( could very well be ), but the hardware in a mac is often quite different from PC. I think the likelihood of compiling something on PC and getting it to work on a mac is pretty small.