Dear f90 Experts,
I have just subsrcibed to this mailing list. I am a f90 novice and I
hope my questions doesn't bother you too much.
I have built a library with frequently used routines. The name is
mylib.f90. In the library I am using modules and generic interfaces.
Compiling the library with 'f90 -c mylib.f90' creats mylib.o and
mylib.mod. I can use the library simply by linking to my program, for
example 'f90 tst.f90 mylib.o'. Everything works fine as long as my
working directory contains also mylib.o and mybib.mod. If this is not
the case, I am not able to link mybib.o to tst.f90. I have tried 'f90
tst.f0 -L~/LIB/mybib.o without success (mylib.o is in the directory
LIB).
I am using Absoft F90 on a Linux PC.
Any help is appreciated.
Joerg
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|