From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- unix/f2c/mswin/README | 19 ++++++++++++ unix/f2c/mswin/f2c.exe.gz | Bin 0 -> 133262 bytes unix/f2c/mswin/index.html | 16 ++++++++++ unix/f2c/mswin/makefile.vc | 76 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 111 insertions(+) create mode 100644 unix/f2c/mswin/README create mode 100644 unix/f2c/mswin/f2c.exe.gz create mode 100644 unix/f2c/mswin/index.html create mode 100644 unix/f2c/mswin/makefile.vc (limited to 'unix/f2c/mswin') diff --git a/unix/f2c/mswin/README b/unix/f2c/mswin/README new file mode 100644 index 00000000..26f05313 --- /dev/null +++ b/unix/f2c/mswin/README @@ -0,0 +1,19 @@ +f2c.exe.gz is a compressed Win32 console binary for f2c that runs +under Microsoft Windows 9x and NT. It was compiled by Microsoft +Visual C++ 6.0 by makefile.vc. + +Compression is by gzip, source for which is available by ftp +in prep.ai.mit.edu:/pub/gnu. As a convenience, gzip binaries for +several systems (with names of the form system.executable) and +source for the gzip used to compress the *.gz files are available +for ftp from netlib directory gnu/gzip. In particular, if you +copy gnu/gzip/dos.executable to an MSDOS machine (in binary mode), +rename it gzip.exe, and rename f2c.exe.gz f2c.exz and f2cx.exe f2cx.exz, +then on the MSDOS machine you can recover f2c.exe and f2cx.exe by +executing "gzip -dN f2c.exz f2cx.exz". + +"xsum f2c.exe f2c.exe.gz" should give you: +f2c.exe b39b23e 245760 +f2c.exe.gz efe20e82 133264 + +Last update: 6 May 2006 diff --git a/unix/f2c/mswin/f2c.exe.gz b/unix/f2c/mswin/f2c.exe.gz new file mode 100644 index 00000000..a2d679c9 Binary files /dev/null and b/unix/f2c/mswin/f2c.exe.gz differ diff --git a/unix/f2c/mswin/index.html b/unix/f2c/mswin/index.html new file mode 100644 index 00000000..0fc5eb99 --- /dev/null +++ b/unix/f2c/mswin/index.html @@ -0,0 +1,16 @@ + + +f2c/mswin + + +
+file	README
+
+file	f2c.exe.gz
+for	Win32 console version of f2c (compiled by MSVC++ 6.0)
+
+file	makefile.vc
+for	compiling f2c.exe by MSVC++
+
+ + diff --git a/unix/f2c/mswin/makefile.vc b/unix/f2c/mswin/makefile.vc new file mode 100644 index 00000000..e79a6ca8 --- /dev/null +++ b/unix/f2c/mswin/makefile.vc @@ -0,0 +1,76 @@ +# Microsoft Visual C++ Makefile for f2c, a Fortran 77 to C converter +# Invoke with "nmake -f makefile.vc", or execute the commands +# copy makefile.vc makefile +# nmake . + +CC = cl +CFLAGS = -Ot1 -nologo -DNO_LONG_LONG + +.c.obj: + $(CC) -c $(CFLAGS) $*.c + +OBJECTS = main.obj init.obj gram.obj lex.obj proc.obj equiv.obj data.obj format.obj \ + expr.obj exec.obj intr.obj io.obj misc.obj error.obj mem.obj names.obj \ + output.obj p1output.obj pread.obj put.obj putpcc.obj vax.obj formatdata.obj \ + parse_args.obj niceprintf.obj cds.obj sysdep.obj version.obj + +checkfirst: xsum.out + +f2c.exe: $(OBJECTS) + $(CC) -Fef2c.exe $(OBJECTS) setargv.obj + +$(OBJECTS): defs.h ftypes.h defines.h machdefs.h sysdep.h + +cds.obj: sysdep.h +exec.obj: p1defs.h names.h +expr.obj: output.h niceprintf.h names.h +format.obj: p1defs.h format.h output.h niceprintf.h names.h iob.h +formatdata.obj: format.h output.h niceprintf.h names.h +gram.obj: p1defs.h +init.obj: output.h niceprintf.h iob.h +intr.obj: names.h +io.obj: names.h iob.h +lex.obj : tokdefs.h p1defs.h +main.obj: parse.h usignal.h +mem.obj: iob.h +names.obj: iob.h names.h output.h niceprintf.h +niceprintf.obj: defs.h names.h output.h niceprintf.h +output.obj: output.h niceprintf.h names.h +p1output.obj: p1defs.h output.h niceprintf.h names.h +parse_args.obj: parse.h +proc.obj: tokdefs.h names.h niceprintf.h output.h p1defs.h +put.obj: names.h pccdefs.h p1defs.h +putpcc.obj: names.h +vax.obj: defs.h output.h pccdefs.h +output.h: niceprintf.h + +put.obj putpcc.obj: pccdefs.h + +clean: + deltree /Y *.obj f2c.exe + +veryclean: clean + deltree /Y xsum.exe + +b = Notice README cds.c data.c defines.h defs.h equiv.c error.c \ + exec.c expr.c f2c.1 f2c.1t f2c.h format.c format.h formatdata.c \ + ftypes.h gram.c gram.dcl gram.exec gram.expr gram.head gram.io \ + init.c intr.c io.c iob.h lex.c machdefs.h main.c makefile.u makefile.vc \ + malloc.c mem.c memset.c misc.c names.c names.h niceprintf.c \ + niceprintf.h output.c output.h p1defs.h p1output.c \ + parse.h parse_args.c pccdefs.h pread.c proc.c put.c putpcc.c \ + sysdep.c sysdep.h sysdeptest.c tokens usignal.h vax.c version.c xsum.c + +xsum.exe: xsum.c + $(CC) $(CFLAGS) -DMSDOS xsum.c + +#Check validity of transmitted source... +# Unfortunately, conditional execution is hard here, since fc does not set a +# nonzero exit code when files differ. + +xsum.out: xsum.exe $b + xsum $b >xsum1.out + fc xsum0.out xsum1.out + @echo If fc showed no differences, manually rename xsum1.out xsum.out: + @echo if xsum.out exists, first "del xsum.out"; then "ren xsum1.out xsum.out". + @echo Once you are happy that your source is OK, "nmake -f makefile.vc f2c.exe". -- cgit