- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I have a LIB file with a module in it. That is I have the lIB and the MOD files. Is there a way to document/list the variables, type def'ns, and/or the procedures in it?
If not the preocedure interfaces, only the list of names will do.
Tx,
Tim
If not the preocedure interfaces, only the list of names will do.
Tx,
Tim
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, you can get a list of routines and some variables by dumping the symbol table of the .LIB: dumpbin -symbols from a Fortran Command Prompt window. Stuff like type declarations are in the .MOD file and not "dumpable", though you can open the .MOD in the binary editor and see the names in the string table. You're on your own there.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, that's just about all I needed.
2 things:
1. What binary editor were you thinking of?
2. At the risk of pushing my luck, is there an way to find out the rtype of the variables and/or the dummy argument types of the procedures?
Thanks again
Tim
2 things:
1. What binary editor were you thinking of?
2. At the risk of pushing my luck, is there an way to find out the rtype of the variables and/or the dummy argument types of the procedures?
Thanks again
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tim,
1) Have you tried opening a .mod file in Visual Studio? ;-)
2) There certainly is -- but you're probably on your own here, unless a good soul from Intel provides some details on the format. You could try doing some reverse-engineering yourself; try creating a simple module with one procedure, change its arguments, and watch for changes in the .mod file. A file compare program, like WinDiff (or a better one, if you find it on the net) could ease the task.
Jugoslav
1) Have you tried opening a .mod file in Visual Studio? ;-)
2) There certainly is -- but you're probably on your own here, unless a good soul from Intel provides some details on the format. You could try doing some reverse-engineering yourself; try creating a simple module with one procedure, change its arguments, and watch for changes in the .mod file. A file compare program, like WinDiff (or a better one, if you find it on the net) could ease the task.
Jugoslav

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