This is the port of GNU Fortran (g77-0.5.23) for EMX (OS/2 and DOS) and RSX (Win32 console-apps, DOS-DPMI). Please send bug reports for g77 to fortran@gnu.org, except for bugs introduced by the port, which should be reported to me. If you are not sure, send bugs to me!
You get the following binaries from archive g77bin.zip
(rsx-users
:
g77rsx.zip
).
/emx/bin/g77.exe
/emx/bin/f771.exe
/emx/lib/st/f2c.a
/emx/lib/st/f2c.lib
/emx/lib/mt/f2c.a
/emx/lib/mt/f2c.lib
/emx/lib/st/f2c_p.a
/emx/lib/st/f2c_p.lib
/emx/lib/st/f_app.a
/emx/lib/st/f_app.lib
/emx/lib/st/f_import.a
/emx/lib/st/f_import.lib
/emx/dll/emxlibfs.dll
/emx/lib/mt/f_app.a
/emx/lib/mt/f_app.lib
/emx/lib/mt/f_import.a
/emx/lib/mt/f_import.lib
/emx/dll/emxlibfm.dll
/emx/doc/COPYING.g77
/emx/doc/g77.doc
/emx/book/g77.INF
/emx/book/g77bugs.INF
/emx/book/g77news.INF
/emx/bin/g77inst.cmd
The Sources are in g77src.zip (compiler) and g77lsrc.zip (Runtime-Library)
G77 is a part of gcc. The first to do is installing emx on your computer. See /emx/doc/install.doc for detailed information. The minimum set of zip's is
Note that you have to set certain enviroment-variables in config.sys to make emx run. The next step is unzipping g77bin.zip (the binaries of g77).
Now you can create a folder containing icons for the on-line books by typing
g77inst
Now the fortran-compiler works on your machine by running g77 on your .f - files. You can obtain the command-line options of g77 from the desktop object "Using and Porting GNU Fortran". In addition the options -Zomf and -Zsys works in that way, emxdev.doc describes.
To view the G77 manuals, unpack gnudoc.zip and gnuinfo.zip and install info (see emxgnu.doc). Use GNU makeinfo to create info files for on-line help from the texinfo files. makeinf.bat and makeinf.cmd are batch files which simplify calling makeinfo.
NOTE: To create the g77-docs you need the latest port of makeinfo (version 1.64, from texinfo-3.7).
To create info files for the G77 manual, type:
unzip g77src emx/gnu/doc/g77/*
cd \
cd \emx\gnu\doc\g77
..\makeinf g77 (Using and Porting GNU Fortran)
..\makeinf news0 (News about GNU Fortran)
..\makeinf bugs0 (Bugs in GNU Fortran)
If you did not already, add the following lines to /emx/info/dir :
* G77: (g77). The GNU Fortran compiler.
* news0: (news0). News about the GNU Fortran compiler.
* bugs0: (bugs0). Bugs in GNU Fortran.
The following instructions assume that you are using emTeX (with emTeX386). If TeX complains about undefined control sequences, just type `s' and ignore the errors. First you have to patch the makedvi script
cd \emx\gnu\doc
gpatch makedvi.cmd makedvi.patTo typeset the G77 documentation, type
cd \emx\gnu\doc
makedvi g77 (Using and Porting GNU Fortran)
This creates the following file:
g77.dvi (Using and Porting GNU Fortran)
Many Fortran-Programmers are missing the error-function. The g77-runtime libraries are calling the c-runtime erf-routine. This function is now a part of the g77 runtime library.
Please have a look at the following document. Send a request to Intel!
Just click HERE to view the html-Manual.
0.5.22 : g77bin.zip , g77src.zip , g77rsx.zip
0.5.21 : g77bin.zip , g77src.zip , g77rsx.zip
0.5.20 : g77bin.zip , g77src.zip
0.5.19.1 : g77bin.zip , g77src.zip
0.5.19 : g77bin.zip , g77src.zip
Please note the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This port is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have
received a copy of the GNU General Public License along with emx;
see the file COPYING. If not, write to the Free Software
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
See
\emx\doc\COPYING.G77 and \emx\doc\COPYING for details.
In
consequence, g77bin.zip can be distributed only if distributed
with g77src.zip.
Thanks to Stefan A. Deutscher for accompaning this port.
Thanks to Lubens Simon for making several helpful
optimizations.
EMail: michael@ime.rwth-aachen.de 14.01.99