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

Creating a shared object on linux.

Brian_Allison
Beginner
499 Views
If I am creating a dll with my program on windows, can I just have the compiler name the same dll .so?
0 Kudos
1 Solution
Xiaoping_D_Intel
Employee
499 Views
Please use "-shared -fpic" options. For example:

$ifort -shared -fpic -o libfoo.so foo.f90

View solution in original post

0 Kudos
1 Reply
Xiaoping_D_Intel
Employee
500 Views
Please use "-shared -fpic" options. For example:

$ifort -shared -fpic -o libfoo.so foo.f90

0 Kudos
Reply