3 ms·
Last time I asked, cross compilation is not easy feat. No problem compiling the same source for different targets, but from the same machine? There's no easy w
by narag 11y ago
Last time I asked, cross compilation is not easy feat.
No problem compiling the same source for different targets, but from the same machine? There's no easy way, specially for Macs. Mind you it's not impossible, but it's not the recommended path.
Assembly you can insert it directly in code. To reconcile that with the prior question, use ifdefs.
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.