From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9602070539.AA22319@tansei1.tansei.cc.u-tokyo.ac.jp> Date: Wed, 7 Feb 96 14:39:14 JST From: Morita Subject: Re:f2c Hi Folks, Erik Troan wrote >A new f2c RPM os now available in devel (with the same name as before) which >doesn't try to run ldconfig at install time. Sorry 'bout that. >Erik I have tested the above f2c and found that even though it is good for small programmes, it is not the case for most programmes of my use. Apparently, like I experienced before on g77, that is also good for small ones, judging from the messages: Compiler error line ?? of pro.f:floating exception during constant evaluation; cannot recover 64 pointers are not quite comfortable. So I started thinking of any bright side and found a clumsy wayout that may be useful. As I reported before, gcc-2.7.1 with Davidm's patch on ftp:// ftp.azstarnet.com/pub/linux/axp/misc enabled me to compile g77-0.5.17 as well as gcc of course. This gave libf2c.a, libF77.a and libI77.a. Let pro.f be a Fortran programme and with the help of separate site, my case was HP9000/735, I made pro.c from pro.f by using f2c at the site and brought it to the Linux box. By putting libf2c.a for g77 to /usr/lib, I could compiled pro.c successfully. Unfortunately though, libf2c.a for Erik's f2c did not help in this case. Thus libf2c.a for g77 seems to be quite strong. So f2c works fine in this way for a while. But there is a disappoiting aspect which may be rooted in f2c itself. My home brew programmes run about 0.85 time faster than complied in Microsoft C++ in Winnt environment when they are processed under gcc in the Linux box. This benifit is totally gone, if processed by f2c, i. e. more than 3 times slower than in Linux gcc. This is also true for HP9000/735 in comparison with f77 for HPUX OS. Cheers, Akio Morita, Department of Chemistry, Graduate School of Arts and Sciences, The University of Tokyo.