home *** CD-ROM | disk | FTP | other *** search
-
- A Desktop Front End for FORTRAN 77 Version 2.10 7 Dec 1991
- by D.J. Crennell
-
- ************************************************************************
- C O P Y R I G H T N O T I C E
-
- Copyright D.J & K.M. Crennell, 1 Aug 1991
- P.O. Box 64, Didcot, Oxon, OX11 0TH.
-
- This software is in the Public Domain and may not be sold or included in any
- program that will be sold, without written permission from the authors.
-
- The authors must be given credit in any publications using this software.
-
- The software may be copied and distributed as long as no changes are made
- and this copyright notice is included. Please send any suggested
- improvements to the authors.
-
- In no circumstances shall the authors be liable for any damage, loss of
- profits, or any indirect or consequential loss arising out of the use of
- this software or inability to use this software, even if they have been
- advised of the possibility of such loss.
-
- The authors do their best to ensure that this application is distributed
- virus free.
- ************************************************************************
-
- This application simplifies compiling, linking and running fortran77
- programs. It expects to find the following files and directories:
-
- directory file description
-
- % the library directory
- %. f77fe the Acorn fortran front end compiler
- %. f77cg the Acorn fortran code generator
- %. link the Acorn linker (if it is absent you will not be
- allowed to try to link)
- %.lib fortran libraries directory
- %.lib. f77 fortran system library
- %.lib. * user libraries which may be included in the link step
- (see Note 3)
- .f77. * fortran source, limited to the 77 files allowed in a
- directory
- .aof. * up to 77 object files (from fortran above or
- elsewhere) for linking with the libraries in %.lib
- System:modules FPEmulator, the floating Point emulator module
-
- Note 1.
- If you have the old Software Developer's Toolbox you may find the
- following two utilities useful:
- %.asd the Arthur Symbolic Debugger. This will allow the "debug"
- compiler option, when the program will be executed debug
- mode
- %.squeeze the aif compression utility can then be selected with the
- "squeeze" option.
-
- Note 2.
- If you have the new Acorn Desktop Development Environment package then
- you may use:
- %.squeeze the aif compression utility can then be selected with the
- "squeeze" option.
- You can enter the DDE environment after compiling and linking by
- selecting "debug" in the compiler menu provided Desktop Debugging Tool has been "seen" by Risc-OS. (Untested 7 Dec 91)
-
- Note 3.
- By default !Fortran77 expects to find the libraries in the directory
- $.library.lib, loads all those it finds, and lists them in alphabetical
- order in its 'Libraries' menu.
-
- From version 2.10 of !Fortran77 you can:
- redefine the libraries directory,
- select which libraries to load,
- change the linking order.
-
- Remember that libraries which call routines from other libraries
- must be loaded before those they call.
-
- If you want to change the default directory or loading order, include a
- textfile 'LibList' similar to the example included.
- --------------------------------------------------------------------------
-
- Instructions:
-
- Double click on the !Fortran77 icon which will install itself on the
- icon bar.
-
- 1) Click "menu" over the icon and set:
- a) whether to link, (squeeze) and run, (it always compiles)
- b) the compilation options,
- c) the link options,
- d) which libraries to include,
-
- 2) Drag any aof files to be used on to the icon,
- or delete them from the menu if not required any more.
-
- 3) Drag the fortran file(s) onto the icon. You must drag all at once
- because you will not get another chance.
-
- !Fortran77 will set the current directory to the one below the .f77 and
- create any .aof and .aif directories which it needs and which do not exist.
- Hence, if you have any INCLUDE files, they are best stored here and so will
- not need any directory prefix.
- If there are any compilation or linking errors, a file .err.<name> will
- contain the details and will be displayed by !Edit (if Risc-OS knows about
- it; similarly .asm.<name>, .lis.<name>, .map.<name> files will be created if
- they are asked for in the menu (<name> is that of the f77 file).
- Temporary files used in compiling and linking will be stored on RAM disc
- if possible, else they will be in a directory $.tmp; all of these will be
- deleted when they are no longer needed.
-
- Memory used:
-
- Compilation: 320K (set up in cs% at beginning of DeskTopF77)
- Link: 640K (set up in ls% at beginning of DeskTopF77)
- Run: This is calculated exactly from the .aif file, but RISC-OS will round
- it up to a convenient size. Hence you can multi-task a running fortran
- program. Running with the asd debugger requires much more memory.
- Running with DTE the memory is controlled by the DTE.
-
- Versions:
-
- 2.00 30 Nov 1991
- Acorn Desktop Development Environment compatible version;
- Link map and cross reference listings in link menu;
- Debug option calls DTE package to run the aif (works, but not tested).
- The presence of the new DDE environment is detected by the size(!) of
- the linker. This is ~73K in the old version and ~27K in the DDE.
- 2.10 5 Dec 1991
- Includes libraries directory redefinition (see Note 3 above). Also
- minor corrections to the way Basic errors are handled.
- 2.11 19 Dec 1991
- Correct error messages if trying to overwrite locked aof or aif files.
- 2.12 10 Jan 1992
- Fix to bug in compilation from many files. Increase the size of the
- RAM disc.
- 2.13 26 Apr 1992
- Fix to !Run to set library to current filing system
- 2.14 30 Aug 1992
- Fix line 1400 from "error" to "rror" so finds F77cg errors
- 2.15 07 Sep 1992
- direct compiler messages with -ver rather than { > .. } construction.
- This allows for problems in illegal INCLUDE file names.