Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I

build for Linux from visual studio

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
Highlighted
Black Belt

Unlikely - I am fairly sure

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.

Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran
0 Kudos
Highlighted
New Contributor III

Hi Scott,

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