Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
26862 Discussions

ifort, windows, creating static executable


Dear experts,

I am using Intel Fortran (ifort ver 19.x) with Windows. The compilation was done in the command line (cmd prompt). Two libraries (*.lib) were linked. My aim is to create "static" executable, which could be executed on any PC, also without Fortran installation. I tried /link /lib:static"  and some other options, but they were ignored as unrecognized. Could You probably help me, to solve the problem and create "portable" executable?

Many thanks in advance.


0 Kudos
0 Replies