most of emulators are opensource and have crosscompilation.
there is not linux or windows build's we can only call them linux or windows or mac builds.
example punes both on linux and windows.
code not change drastically but must have few changes for run on other OS its called port.
and i think cosmetic changes in lines of code,