the executable and library file formats are different between linux and windows. if you want to make one run on the other, you will need to cause the tool programs that build these to build for the other using the other's format. the simpler way is for each to build its own format. if you only have one physical machine, i suggest running a virtual machine program and in there run the other OS. this can be done both ways (windows on linux and linux on windows).
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.