home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / f2csrc.zip / f2csrc / mbox < prev    next >
Internet Message Format  |  1993-07-30  |  10KB

  1. From dmg Tue Jul 11 08:08:46 EDT 1989
  2. f2c's formatted I/O (at least the little I've tried)
  3. seems to work with Sun's libF77 and libI77 on sol;
  4. some list-directed I/O works, but not character
  5. strings -- Sun's f77 issues different calls for them.
  6.  
  7. From gre Fri Aug  4 21:09:07 EDT 1989
  8.  
  9. f2c.news (dmg) Fri Aug  4 17:24:39 1989
  10.  
  11.    Now available for "friendly use", f2c converts Fortran 77
  12.    source code to C.  By default, it tries for bit-level
  13.    compatibility with f77.  Usage:
  14.        f2c [flags] file ...
  15.    File names must end in .f or .F; corresponding .c files are
  16.    produced in the current directory (unless no file arguments
  17.    are given, in which case f2c acts as a filter).  `man f2c`
  18.    describes flags and other details.  Bug reports to dmg.
  19.  
  20.  
  21. From dmg Sat Aug  5 13:21:08 EDT 1989
  22. I've tweaked things in netlib/f2c so one can pass options by
  23. having the first line after "execute f2c" begin with "c$f2c ",
  24. followed by options.  Source for F2cargs is /n/pipe/usr/dmg/f2c/F2cargs.c .
  25. (This also involved tweaking /n/crab/usr/ehg/bin/netlib.f2c .)
  26.  
  27. From coma!ehg Sat Aug  5 16:30:00 EDT 1989
  28. >From research!bowell!dmg 6 Aug 89 10:24:36 GMT
  29. (bowell.1828)  comet               : /usr/bin/f2c
  30. New flag -r8 promotes REAL to DOUBLE PRECISION, COMPLEX to DOUBLE COMPLEX
  31. (a la Berkeley f77).
  32.  
  33.  
  34. From coma!ehg Thu Aug 10 16:30:00 EDT 1989
  35. >From research!bowell!dmg 11 Aug 89 06:39:59 GMT
  36. (bowell.1841)  comet               : /usr/bin/f2c
  37. Quietly allow names up to 8 characters long (except under -ext).
  38. Complain about, then ignore arguments to a main program.
  39. Under -u, complain just once about each undeclared variable.
  40.  
  41.  
  42. From arpa!hilbert.cray.com!tam Wed Aug  9 20:26:04 CDT 1989
  43. Received: from hall.cray.com by uc.msc.umn.edu (5.59/1.14)
  44.     id AA13772; Thu, 10 Aug 89 17:57:59 CDT
  45. Received: from tmacd.cray.com by hall.cray.com
  46.     id AA09337; 3.2/CRI-3.10; Wed, 9 Aug 89 20:26:10 CDT
  47. Received: by tmacd.cray.com
  48.     id AA05465; 3.2/CRI-3.10; Wed, 9 Aug 89 20:26:04 CDT
  49. Date: Wed, 9 Aug 89 20:26:04 CDT
  50. From: tam@hilbert.cray.com (Tom MacDonald)
  51. Message-Id: <8908100126.AA05465@tmacd.cray.com>
  52. To: asg%3k@arpa.att.com, dmr@research.att.com, ehg@research.att.com,
  53.         nls@research.att.com, pjw@research.att.com, wmc@research.att.com
  54. Subject: f2c help
  55.  
  56. Hi,
  57.  
  58. I promise not inundate all of you with so much Email in the future.
  59. We tried the 'f2c' translator (or at least Bertice Haines did) and
  60. she sent me the following Email.
  61.  
  62. ======================================================================
  63. Tom
  64. It doesn't look like I'm going to get very far with the fortran
  65. to C translator.  It considers variables longer than six characters
  66. to be errors and truncates them.  It also mentions libraries that
  67. we don't have and need a header file called f2c.h
  68.  
  69.                                   Bertice
  70.  
  71.  
  72. From: netlibd@arpa.att.com
  73. Date: Tue, 8 Aug 89 22:02:21 EDT
  74. To: arpa!bedlam.cray.com!bjh
  75. Subject: filter f2c
  76. Status: R
  77.  
  78. /*  -- translated by f2c (version 0.6, all of Fortran 77).
  79.    You must link the resulting object file with the libraries:
  80.         -lF77 -lI77 -lm -lc   (in that order)
  81. */
  82.  
  83. #include "f2c.h"
  84. ========================================================================
  85.  
  86. I was wondering if anyone else had complained about these issues.
  87. Our Fortran compiler cft77 allows longer variable names.  Also
  88. can I get a copy of the "f2c.h" header.  And finally, can anyone
  89. tell me what the libraries libF77.a and libI77.a contain.  I'd
  90. really like to use 'f2c' as a way of finding out where the Standard C
  91. compiler is deficient (performance wise).  It also might help me understand
  92. what I need to do to support your C environment.
  93.  
  94. Thanks for your help.
  95.  
  96. Tom MacDonald
  97. tam@cray.com
  98. uunet!cray!tam
  99.  
  100.  
  101. From ehg Thu Aug 10 22:10:25 EDT 1989
  102. From-: Eric Grosse  ehg@research.att.com 201-582-5828
  103. To-: tam@cray.com 3k!asg dmr nls pjw wmc dmg
  104. Date-: Thu Aug 10 22:10:24 EDT 1989
  105. Subject: Re: f2c help
  106.  
  107. (I'm sending this to the other recipients so they know they
  108. don't have to reply.  In general, the right fellow to contact
  109. is David Gay, research!dmg.  But he's going to be gone for a bit,
  110. so I'll reply as best I can.)
  111.  
  112.  
  113. From ehg Thu Aug 10 22:15:03 EDT 1989
  114. From-: Eric Grosse  ehg@research.att.com 201-582-5828
  115. To-: tam@cray.com 3k!asg dmr nls pjw wmc dmg
  116. Date-: Thu Aug 10 22:15:02 EDT 1989
  117. Subject: Re: f2c help
  118.  
  119. Oops, the system truncated my message.  Here goes another try...
  120.  
  121. [long names]  I also consider Fortran names of more than 6 characters
  122. to be errors.  But David sent out mail this morning saying that f2c
  123. would now allow names up to 8 characters;  perhaps that will help.
  124. But in the final analysis, this is Fortran77->C, not CFT->C.
  125.  
  126. [libraries and headers]  About a week ago, David also updated the
  127. index file in netlib to point to these supplementary files.  Say
  128.     mail netlib@research.att.com
  129.     send f2c.h from f2c
  130.     send libf77 from f2c
  131.     send libi77 from f2c
  132. and you'll get back the items you asked for.  I know it is a little
  133. startling to see the converted code calling the Fortran runtime
  134. library.  I understand that this policy was adopted in order that
  135. the converted program would give output byte-for-byte identical with
  136. the original Fortran.  Of course, this is only true on classical
  137. Unix systems running Feldman's compiler.  Still, if you can match
  138. these codes to your own runtime library closely enough, perhaps you
  139. too can compare the Fortran and C output automatically.
  140.  
  141.  
  142. Please pass along my best wishes to Bertice.  She did an
  143. excellent job for us while she was at Murray Hill.
  144.  
  145. Eric
  146.  
  147. From 3k!asg Fri Aug 11 16:11 EDT 1989
  148. To: pipe!ehg
  149. Subject: Re: f2c help
  150.  
  151. You can send your regards/complements directly to Bertice,
  152. bjh@cray.com. Aaron
  153.  
  154. From arpa!bedlam.cray.com!bjh Tue Aug 15 09:15:20 CDT 1989
  155. Received: from sc.msc.umn.edu by uc.msc.umn.edu (5.59/1.14)
  156.     id AA25045; Tue, 15 Aug 89 09:13:30 CDT
  157. Received: from hall.cray.com (hall.cray.com.ARPA) by sc.msc.umn.edu; Tue, 15 Aug 89 09:53:40 cdt
  158. Received: from pacific.cray.com by hall.cray.com
  159.     id AA18668; 3.2/CRI-3.11; Tue, 15 Aug 89 09:15:25 CDT
  160. Received: by pacific.cray.com
  161.     id AA16716; 3.2/CRI-3.11; Tue, 15 Aug 89 09:15:20 CDT
  162. Date: Tue, 15 Aug 89 09:15:20 CDT
  163. From: bjh@bedlam.cray.com (Bertice Haines)
  164. Message-Id: <8908151415.AA16716@pacific.cray.com>
  165. To: dmg@research.att.com, ehg@research.att.com
  166.  
  167. I think I now have all of the pieces needed to convert some of our
  168. cft77 regression tests using f2c.  Thanks for your help.
  169.  
  170.                                Bertice
  171.  
  172. From coma!ehg Fri Sep  1 04:30:00 EDT 1989
  173. >From research!bowell!pg 1 Sep 89 15:29:25 GMT
  174. (bowell.1861)  comet               : lp
  175. shipped /usr/spool/lp/devices /usr/spool/lp/process/generic /usr/spool/lp/spooler/generic /usr/spool/lp/spooler/dkgeneric
  176.  
  177. Now knows about "lino".
  178.  
  179. Some general cleanup.
  180.  
  181. >From research!bowell!dmg 1 Sep 89 15:45:53 GMT
  182. (bowell.1862)  comet               : /usr/bin/f2c
  183. Make A(min(i,j)) work when A is an array.
  184. Add 7 and 8 character C keywords to the list of names
  185. that have an underscore appended.
  186. Accumulate block data in /tmp rather than the current directory.
  187. Issue an error message for LOGICAL*1 (just one per LOGICAL*1 type
  188. stmt, rather than one per variable in the stmt), and treat LOGICAL*1
  189. as LOGICAL rather than declining to produce any C output.
  190. Allow INTEGER variables to be used as formats (a la f77 and FORTRAN 66).
  191.  
  192. >From research!bowell!norman 1 Sep 89 17:35:07 GMT
  193. (bowell.1863)  comet               : uucp/Systems.dk
  194. september NAC shipment.
  195. if you are in the habit of snitching Systems.gen as well,
  196. pick up a new Dialcodes file; prefix DLl has been added.
  197.  
  198. >From research!bowell!doug 1 Sep 89 20:50:49 GMT
  199. (bowell.1864)  comet               : man.macros
  200. tweak to avoid hyphenating certain literals
  201.  
  202.  
  203. ------m dmg nls Sat Sep 16 00:19:45 EDT 1989
  204. To-: dmg nls
  205. The message
  206.  
  207. Subject: execute f2c
  208.       x=1
  209.       end
  210.  
  211. is, according to the RFC822 mail standard, just one (continued)
  212. header line, and the message body is empty.  If people complain
  213. to you that they're getting back empty C, that's probably the cause.
  214.  
  215. From coma!ehg Tue Oct  3 04:30:00 EDT 1989
  216. >From research!bowell!dmg 3 Oct 89 14:34:35 GMT
  217. (bowell.1934)  comet               : /usr/bin/f2c
  218.    Fix bugs in character DATA for noncharacter variables
  219. involved in EQUIVALENCE.
  220.    Portable initialization of noncharacter variables
  221. with character data.
  222.    IMPLICIT NONE is now treated as IMPLICIT UNDEFINED(A-Z).
  223.    New option -!I disables includes (for netlib).
  224.    Bail out when given an invalid option.
  225.  
  226.  
  227. From cs.utk.edu!dongarra Sat Aug 25 17:37:05 EDT 1990
  228. Received: by pyxis; Sat Aug 25 17:36 EDT 1990
  229. Received: by inet.att.com; Sat Aug 25 17:36 EDT 1990
  230. Received:  by dasher.cs.utk.edu (4.0/2.6c-UTK)
  231.     id AA02469; Sat, 25 Aug 90 17:37:05 EDT
  232. Date: Sat, 25 Aug 90 17:37:05 EDT
  233. From: dongarra@cs.utk.edu
  234. Message-Id: <9008252137.AA02469@dasher.cs.utk.edu>
  235. To: ehg@research.att.com
  236. Subject: Re:  netlib news
  237.  
  238. Eric,
  239. I copies most things from /netlib/temp. I think I screwed up with /netlib/go,
  240. so when you get a chance please put it back. I removed all files with 
  241. the exception of admin. I haven't copied that yet, since I need to check
  242. the index and LIBS before coping.
  243.  
  244. Does the newest version of netlib automatically do the f2c function?
  245. I don't think I have the latest.
  246. Jack
  247.  
  248. ------m dongarra Sun Aug 26 17:29:12 EDT 1990
  249.  
  250. I don't remember what was in temp/go.  I'm running a complete check now
  251. and that will cover any problems with go.
  252.  
  253. The f2c execution stuff here has lots of dmg (=David Gay) specific
  254. file names, so when I copied the files to Oslo, I didn't bother to
  255. install the executables.  I get the impression that most people
  256. these days want to run it on their own machine anyway.  The main
  257. motivation for sending a file to netlib would be as a quick test-run
  258. or as a has-this-bug-been-fixed-yet test.  For those purposes, it
  259. is probably best that they send the files to David's latest version
  260. anyway.
  261.  
  262. Best wishes
  263. Eric
  264.