|
-
January 8th, 2002, 03:06 PM
#1
linking with g77
How do you link a library file when compiling a fortran program using g77 (GNU). My example, the library file is located in /home/name/program/library.a and the fortran program to be linked is test.f ????? Everything I have tried produced an undefined reference to all the function calls in test.f.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|