Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29261 Discussions

Compile in Linux, run on Windows XP?

yeohakoon
Beginner
1,025 Views

I need to share the executable file of a Fortran programme, which was compiled on a Linux machine (CentOS), but most of my colleagues are using Windows XP.

Any possibility of setting the compiler options so that my colleagues could run the executable file on Windows XP?

 

0 Kudos
3 Replies
sphost
Beginner
1,025 Views

MinGW can be used for application compiled with gcc or g++ but for ifort ...

In my opinions you have to recompile your code on a windows system using the ifort compiler for windows

Maybe some special tools exist for ifort but I don't know them.

0 Kudos
Nicolae_P_Intel
Employee
1,025 Views

There is the option of cross compiling on Linux for Windows (or other platform) but it needs some time to set up the cross compiling chain. I did that in the past with gcc and I am not aware if the fortran compilers are also able to do that.

Hope it helps.

Nick

0 Kudos
Steven_L_Intel1
Employee
1,025 Views
ifort does not have such an option. The executable format and calling conventions are different between the two operating systems.
0 Kudos
Reply