- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can anyone help me to compile a combined f90 and f77 source code using ifc. I can compile f90 and f77 as individual entities, but not together. The errors states undefined reference to all f77 files. By this I imagine that the f90 libraries are not helping f77 compilation. Is there a specific f77 library to which I should refer to in my makefile. Does anybody have experience in compiling f90 with f77. If so I would appreciate your feedback, but please be aware my understanding on this subject is rather poor and I may require a bit more explanation to understand the potential solutions.
Regards
Seetho
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fortran 90 is a superset of Fortran 77. The same compiler and library handles Fortran 77 and Fortran 90 code - there are not separate libraries.
If you are referring to mixed fixed-form and free-form source, you should compile these separately and then link the objects together.
Perhaps you could show an example of what you're trying that doesn't work?

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