home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15743 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  2.0 KB

  1. Path: sparky!uunet!caen!zaphod.mps.ohio-state.edu!pitt.edu!stern
  2. From: stern+@pitt.edu (Eric G Stern)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Problems between SASC 5.10 and SASC 6.00
  5. Message-ID: <9501@blue.cis.pitt.edu.UUCP>
  6. Date: 12 Nov 92 14:30:50 GMT
  7. Sender: news+@pitt.edu
  8. Organization: University of Pittsburgh
  9. Lines: 32
  10. Originator: stern@unixd2.cis.pitt.edu
  11.  
  12. Hi,
  13.  
  14.     Unfortunately, I will probably have to have some sort of Fortran
  15. capabilities on my Amiga at some time in the future, so I've been
  16. taking a look at f2c, the Fortran->C converter from Bell Labs.  I
  17. retrieved the source code from the net and was able to compile it on a
  18. unix machine at work, so I thought I should be able to compile and run
  19. it on my Amiga.  I wanted to compile under SASC V6.00 so I have the
  20. benefit of all the new optimizations but I found that when I do so, it
  21. compiles (with a lot of warnings about missing prototypes), but
  22. running it just gives gibberish.  However, I can compile it under SASC
  23. v5.10 with equivalent compilation options and it works correctly.
  24. What should I do?  Possibly something is wrong that SAS should know
  25. about, but this is a huge program that I don't really know anything
  26. about, so I can't localize the problem as they need to do anything.
  27. Did anything really change so that working code breaks between 5.10
  28. and 6.00?  I have read the section in the manual about changes between
  29. 5.10 and 6.00 and none if it seems to imply that things would break in
  30. this fashion.  I don't hink that the missing prototypes will cause
  31. this because: (1) all off the function parameters are sizeof(int)=4
  32. bytes wide, and (2) whatever assumptions it made about missing
  33. prototypes under 5.10 should still work (I think).  There are no weird
  34. things in the code like bitfields in structures, or dependencies on
  35. alignment or order of allocation in structures that did change as far
  36. as I can tell.
  37.  
  38. Also, how compatible is the object format between 5.10 and 6.00?  Can
  39. I mix modules in one program in an attempt to determine the failing
  40. module?  What about library formats?
  41.  
  42.  
  43.                 Eric Stern
  44.