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