Mail Archives: pgcc/1998/03/26/12:23:26
>> The large library of g94 subroutines (util.a) has been compiled as
>> shared library. Now I have the smallest g94 (about 10 MB of disk space
>> instead of over 30 MB).
>Great idea! How do you do that? Could you send me the bldg94 and makefile
>used?
In fact, I did not use the bldg94 script. I have my own Makefile for the
library. I have split the util??.F and osutil.F in the separate directory,
moved C file(s) there (everything needed for util.a) and translated .F files
into .c using gau-cpp and f2c. I had to change the random number generator.
Then everything has been compiled with the
-fPIC option using pgcc and linked with -shared.
If you want the Makefile anyway, I can send it to you, but I warn: It is
too large, non elegant etc. I don't know, how to write a Makefile ;-).
Krzysztof Strasburger
- Raw text -