Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jpburke
Beginner
215 Views

Can I cross compile on Linux to run on Windows?

Hello - Was wondering if I could use the Linux version of the compiler to create executables that could be run on Windows ?

Thanks.
0 Kudos
3 Replies
TimP
Black Belt
215 Views

Basically, no, you would need a cross compiler, and there is no such Intel cross-compiler. You may be able to make gcc cross compilers which could do this; e.g. compile on linux with cygwin as target.
Om_S_Intel
Employee
215 Views

I do not think if such a compiler is available. You make use mingw compiler to develop the code under linux and use mingw windows version of compiler to port the code and make executable on Windows. You would need both a linux box and a windows box.

Om
aazue
New Contributor I
215 Views

Hi
For 32 Show this link, for 64 I don't know ???
http://powdertoy.co.uk/Wiki.html?id=linux_cross_compilation_guide
More easy you use two machines different or (VM Xen ,qemu etc ...) i think ....
search more about this package
mingw32-binutils (Linux side)
Regards
Reply