Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

build for Linux from visual studio

Scott_L_
New Contributor I
105 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
Black Belt Retired Employee
105 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.

Greg_T_
Valued Contributor I
105 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.

Reply