www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/03/26/12:23:26

X-pop3-spooler: POP3MAIL 2.1.0 b 3 961213 -bs-
Delivered-To: pcg AT goof DOT com
Message-Id: <m0yICbj-0001zaC@chkw386.ch.pwr.wroc.pl>
Date: Thu, 26 Mar 98 13:22
From: strasbur AT chkw386 DOT ch DOT pwr DOT wroc DOT pl (Krzysztof Strasburger)
To: jheyd AT tech DOT chem DOT ethz DOT ch, strasbur AT chkw386 DOT ch DOT pwr DOT wroc DOT pl
Subject: Re: Problem with unusual array dimensions in Fortran
Cc: beastium-list AT Desk DOT nl
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
Lines: 16

>> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019