- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I am creating a dll with my program on windows, can I just have the compiler name the same dll .so?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please use "-shared -fpic" options. For example:
$ifort -shared -fpic -o libfoo.so foo.f90
$ifort -shared -fpic -o libfoo.so foo.f90
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please use "-shared -fpic" options. For example:
$ifort -shared -fpic -o libfoo.so foo.f90
$ifort -shared -fpic -o libfoo.so foo.f90

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page