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

Developing for Linux in Windows

mequeensboyle
Beginner
631 Views

I want tocompile code forexecution on aLinux based server; however, I will be developing the code on Windows based labtop and then running it on the server through remote desktop (VNC). The code is relatively portable other than some system calls to run specific software in batch mode.

Is it possible to compile the code for Linux in Windows? (Preferably using Visual Studio)

Cheers,

Chris

0 Kudos
3 Replies
Steven_L_Intel1
Employee
631 Views
No, sorry.
0 Kudos
jberkery
Beginner
631 Views
Quoting - mequeensboyle


Is it possible to compile the code for Linux in Windows? (Preferably using Visual Studio)


It's only possible if you can run your Windows exe under Wine or Mono, but you can't get Linux native executables. Of course, the non-portable portions will be unuseable.

Jack
0 Kudos
TimP
Honored Contributor III
631 Views
In principle, a gfortran cross compiler could be made which runs on Windows and generates linux code. The other way round is much more popular.
0 Kudos
Reply