- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My next problem...
I am the only programmer here willing to deal with Fortran, so I need to be able to build a library that other programmers can include in their projects for our C/C++ application. I can build a version with Fortran code just fine, but I have to include all the fortran libraries explicitly in my project.
Rather than distributing libirc.lib, libifcore.lib, etc. to all the other programmers, is there a way I can build a single library with all the necessary components?
I have tried including the Fortran libraries in my Fortran project. It lists them in the build command, and DUMPBIN shows objects that must come from the libraries, but the main project still complains that it can't find (for instance) libirc.lib.
Intel Fortran 9.1.024, Visual Studio.net 2003
Thanks!
I am the only programmer here willing to deal with Fortran, so I need to be able to build a library that other programmers can include in their projects for our C/C++ application. I can build a version with Fortran code just fine, but I have to include all the fortran libraries explicitly in my project.
Rather than distributing libirc.lib, libifcore.lib, etc. to all the other programmers, is there a way I can build a single library with all the necessary components?
I have tried including the Fortran libraries in my Fortran project. It lists them in the build command, and DUMPBIN shows objects that must come from the libraries, but the main project still complains that it can't find (for instance) libirc.lib.
Intel Fortran 9.1.024, Visual Studio.net 2003
Thanks!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't think of a practical way. You could, I suppose, insert the contents of the various Intel Fortran libraries into yours, but that would make yours big. It would also restrict which C libraries the other programmers could use.
Have you considered building a DLL and specifying static linking of the DLL? Then you'd need to provide only your DLL and its export library.
Have you considered building a DLL and specifying static linking of the DLL? Then you'd need to provide only your DLL and its export library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK- I've built a DLL, and it works. I guess that is a viable solution.

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