home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!relay!afterlife!dpkemp
- From: dpkemp@afterlife.ncsc.mil (David P. Kemp)
- Newsgroups: comp.sys.sun.misc
- Subject: Re: Compilers for install (was: Planning to upgrade to Solaris 2?)
- Message-ID: <1992Jul23.002455.2061@afterlife.ncsc.mil>
- Date: 23 Jul 92 00:24:55 GMT
- References: <1992Jul22.113847.21418@lut.ac.uk> <1992Jul22.162029.15381@news.duc.auburn.edu>
- Organization: The Great Beyond
- Lines: 33
-
- In article <1992Jul22.162029.15381@news.duc.auburn.edu> elling@eng.auburn.edu writes:
- >The ones that do generally need a fortran compiler (allude to the f77
- >unbundling in 4.0 for all of you old timers :-) because they are written
- >in fortran-77 which doesn't handle dynamic memory allocation for arrays
- >and such.
-
- You are correct that the Fortran-77 standard does not specify dynamic
- memory allocation. However, Sun's compiler f77 *does* allow dynamic
- allocation using malloc and pointer variables.
-
- It's been a bunch of years since I used VAX Fortran, but I believe it
- supports dynamic allocation also.
-
- So - if you are developing an application, there is no excuse to require
- a compiler at runtime, even if you are writing in Fortran :-).
-
- ---
-
- Re the recent flamefest over unbundling C: Sun's decision to unbundle
- Fortran was the best thing that ever happened to it. Does anyone
- remember f77cvt, the preprocessor that was needed to translate VAX
- Fortran (a usable language) into the yukky, unusable, ANSI-standard
- glop that was all the BSD Fortran compiler could handle?
- Thank goodness Sun decided to write their own compiler. Anyone who
- lamented the passing of the bundled compiler is welcome to it.
-
- Now if Sun would just add a decent stream-mode unformatted I/O . . .
-
- --
- Dave Kemp dpkemp@afterlife.ncsc.mil
- -----------------------------------------------------------------------------
- "The use of history as therapy means the corruption of history as history."
- -- Arthur Schlesinger (quote stolen from Chet Ramey, CWRU)
-