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

build for Linux from visual studio

Scott_L_
New Contributor I
488 Views

This web site talks about building c++ executables for Linux from visual studio.

https://marketplace.visualstudio.com/items?itemName=VisualCPPTeam.VisualCforLinuxDevelopment

 

Can this approach be applied to Intel Fortran to build for Linux from VS?

thanks,

Scott

 

0 Kudos
2 Replies
Steve_Lionel
Honored Contributor III
488 Views

Unlikely - I am fairly sure that extension relies on the VC build system, which Intel Fortran does not use. Do keep in mind that the extension is just using Visual Studio to kick off builds on a remote Linux system.

0 Kudos
Greg_T_
Valued Contributor I
488 Views

Hi Scott,

I've had success porting Fortran developed in VS for Windows to build on Linux by using a makefile on Linux.  My approach is to copy the Fortran files to the Linux computer, then run the makefile to build there (mostly build shared object .so libraries).  I don't make any changes to the Fortran on Linux, just build and run there so that I can do my development on Windows in VS.  As a test I also build on Windows using the "nmake" utility with a Windows format make file.  Is building on Linux using a makefile your approach too?

Regards,
Greg T.

0 Kudos
Reply