- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have some fortran routines that I'd like to call from C. I'm having trouble finding how to create a shared libarary and how to link to that library from C.
using Redhat Linux 7.3 Intel Fortran 7.0
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might like to check the thread from anuraag in this forum. Then, see the Fortran User's Guide, "Libraries" and "Mixing C and Fortran" sections, and also the man pages for ld for how to use -shared to create a shared object.
Martyn
Martyn
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