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

Build target executable for Mac OS X on Linux

nntwoee
Beginner
845 Views
Hi,

I'm using Intel Fortran on a Linux machine.

Is it possible to build a target executable to run on Mac OS X using Intel Fortran for Linux? If so, what compiler option would I need to use? I have tried running a Linux executable on Mac OS but without any success.

Thank you for any information you may have.

nn
0 Kudos
1 Reply
mecej4
Honored Contributor III
845 Views
The Intel Fortran compilers for Linux do not do cross-compilation, whether for Windows or OSX -- or any OS other than Linux. Therefore, there are no no corresponding compiler options.

Sometimes, an object compiled on Linux happens to work on FreeBSD, but that may be chalked up to coincidence and common ancestry.

You could look at the possibility that some sort of virtual machine is available.
0 Kudos
Reply