Last time I asked, cross compilation is not easy feat.<p>No problem compiling the same source for different targets, but from the same machine? There&#x27;s no easy way, specially for Macs. Mind you it&#x27;s not impossible, but it&#x27;s not the recommended path.<p>Assembly you can insert it directly in code. To reconcile that with the prior question, use ifdefs.<p>Edit: the reason they gave me is that the linker (IIRC, GNU tools) needs the target DLLs to work properly. A good solution would be using a Mac as development machine with VMs for the rest of targets.