home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
gnu
/
f2c-1993.04.28-src.lha
/
src
/
diffs
/
f2c-1993.04.28.diffs
Wrap
Text File
|
1994-02-24
|
8KB
|
275 lines
diff -rc --new-file f2c-1993.04.28-fsf/libF77/makefile f2c-1993.04.28-amiga/libF77/makefile
*** f2c-1993.04.28-fsf/libF77/makefile Wed Apr 28 19:26:35 1993
--- f2c-1993.04.28-amiga/libF77/makefile Thu Feb 24 22:01:19 1994
***************
*** 1,13 ****
.SUFFIXES: .c .o
! CC = cc
SHELL = /bin/sh
! CFLAGS = -O
# compile, then strip unnecessary symbols
.c.o:
$(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
! ld -r -x -o $*.xxx $*.o
! mv $*.xxx $*.o
MISC = Version.o main.o s_rnge.o abort_.o getarg_.o iargc_.o getenv_.o\
signal_.o s_stop.o s_paus.o system_.o cabs.o\
--- 1,13 ----
.SUFFIXES: .c .o
! CC = gcc
SHELL = /bin/sh
! CFLAGS = -O2 -I..
# compile, then strip unnecessary symbols
.c.o:
$(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
! # ld -r -x -o $*.xxx $*.o
! # mv $*.xxx $*.o
MISC = Version.o main.o s_rnge.o abort_.o getarg_.o iargc_.o getenv_.o\
signal_.o s_stop.o s_paus.o system_.o cabs.o\
***************
*** 38,46 ****
Version.o: Version.c
$(CC) -c Version.c
# To compile with C++, first "make f2c.h"
f2c.h: f2ch.add
! cat /usr/include/f2c.h f2ch.add >f2c.h
# If your system lacks onexit() and you are not using an
# ANSI C compiler, then you should uncomment the following
--- 38,48 ----
Version.o: Version.c
$(CC) -c Version.c
+ $(OBJ): f2c.h
+
# To compile with C++, first "make f2c.h"
f2c.h: f2ch.add
! cat ../f2c.h f2ch.add >f2c.h
# If your system lacks onexit() and you are not using an
# ANSI C compiler, then you should uncomment the following
***************
*** 53,59 ****
# $(CC) -c -Donexit=on_exit -DSkip_f2c_Undefs main.c
install: libF77.a
! mv libF77.a /usr/lib
clean:
rm -f libF77.a *.o
--- 55,62 ----
# $(CC) -c -Donexit=on_exit -DSkip_f2c_Undefs main.c
install: libF77.a
! cp libF77.a /gnu/lib/libF77.a
! ranlib /gnu/lib/libF77.a
clean:
rm -f libF77.a *.o
diff -rc --new-file f2c-1993.04.28-fsf/libI77/local.h f2c-1993.04.28-amiga/libI77/local.h
*** f2c-1993.04.28-fsf/libI77/local.h Thu Jan 1 00:00:00 1970
--- f2c-1993.04.28-amiga/libI77/local.h Thu Feb 24 22:00:34 1994
***************
*** 0 ****
--- 1 ----
+ /* Dummy local.h file */
diff -rc --new-file f2c-1993.04.28-fsf/libI77/makefile f2c-1993.04.28-amiga/libI77/makefile
*** f2c-1993.04.28-fsf/libI77/makefile Wed Apr 28 19:29:51 1993
--- f2c-1993.04.28-amiga/libI77/makefile Thu Feb 24 21:56:59 1994
***************
*** 1,13 ****
.SUFFIXES: .c .o
! CC = cc
! CFLAGS = -O
SHELL = /bin/sh
# compile, then strip unnecessary symbols
.c.o:
$(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
! ld -r -x -o $*.xxx $*.o
! mv $*.xxx $*.o
OBJ = Version.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
--- 1,13 ----
.SUFFIXES: .c .o
! CC = gcc
! CFLAGS = -O2 -DNON_UNIX_STDIO
SHELL = /bin/sh
# compile, then strip unnecessary symbols
.c.o:
$(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
! # ld -r -x -o $*.xxx $*.o
! # mv $*.xxx $*.o
OBJ = Version.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
***************
*** 17,31 ****
ar r libI77.a $?
ranlib libI77.a
install: libI77.a
! cp libI77.a /usr/lib/libI77.a
! ranlib /usr/lib/libI77.a
Version.o: Version.c
$(CC) -c Version.c
# To compile with C++, first "make f2c.h"
f2c.h: f2ch.add
! cat /usr/include/f2c.h f2ch.add >f2c.h
clean:
--- 17,33 ----
ar r libI77.a $?
ranlib libI77.a
install: libI77.a
! cp libI77.a /gnu/lib/libI77.a
! ranlib /gnu/lib/libI77.a
Version.o: Version.c
$(CC) -c Version.c
+ $(OBJ): f2c.h
+
# To compile with C++, first "make f2c.h"
f2c.h: f2ch.add
! cat ../f2c.h f2ch.add >f2c.h
clean:
diff -rc --new-file f2c-1993.04.28-fsf/makefile f2c-1993.04.28-amiga/makefile
*** f2c-1993.04.28-fsf/makefile Thu Jan 1 00:00:00 1970
--- f2c-1993.04.28-amiga/makefile Thu Feb 24 21:57:12 1994
***************
*** 0 ****
--- 1,11 ----
+ all:
+ (cd src; make)
+ (cd libF77; make)
+ (cd libI77; make)
+
+ install:
+ (cd src; make install)
+ (cd libF77; make install)
+ (cd libI77; make install)
+ install -c f2c.1t /gnu/man/man1/f2c.1
+ install -c f2c.h /gnu/include
diff -rc --new-file f2c-1993.04.28-fsf/src/defs.h f2c-1993.04.28-amiga/src/defs.h
*** f2c-1993.04.28-fsf/src/defs.h Wed Apr 28 19:06:59 1993
--- f2c-1993.04.28-amiga/src/defs.h Thu Feb 24 21:57:01 1994
***************
*** 769,775 ****
extern char *casttypes[], *ftn_types[], *protorettypes[], *usedcasts[];
extern int Castargs, infertypes;
extern FILE *protofile;
! extern void exit(), inferdcl(), protowrite(), save_argtypes();
extern char binread[], binwrite[], textread[], textwrite[];
extern char *ei_first, *ei_last, *ei_next;
extern char *wh_first, *wh_last, *wh_next;
--- 769,776 ----
extern char *casttypes[], *ftn_types[], *protorettypes[], *usedcasts[];
extern int Castargs, infertypes;
extern FILE *protofile;
! extern void volatile exit();
! extern void inferdcl(), protowrite(), save_argtypes();
extern char binread[], binwrite[], textread[], textwrite[];
extern char *ei_first, *ei_last, *ei_next;
extern char *wh_first, *wh_last, *wh_next;
diff -rc --new-file f2c-1993.04.28-fsf/src/makefile f2c-1993.04.28-amiga/src/makefile
*** f2c-1993.04.28-fsf/src/makefile Wed Apr 28 19:08:42 1993
--- f2c-1993.04.28-amiga/src/makefile Thu Feb 24 21:57:03 1994
***************
*** 1,16 ****
# Makefile for f2c, a Fortran 77 to C converter
! g = -g
CFLAGS = $g
SHELL = /bin/sh
OBJECTSd = main.o init.o gram.o lex.o proc.o equiv.o data.o format.o \
expr.o exec.o intr.o io.o misc.o error.o mem.o names.o \
output.o p1output.o pread.o put.o putpcc.o vax.o formatdata.o \
parse_args.o niceprintf.o cds.o sysdep.o version.o
! OBJECTS = $(OBJECTSd) malloc.o
! all: xsum.out f2c
f2c: $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) -o f2c
--- 1,18 ----
# Makefile for f2c, a Fortran 77 to C converter
! CC = gcc
! g = -O2
CFLAGS = $g
SHELL = /bin/sh
+ YACC = bison -y
OBJECTSd = main.o init.o gram.o lex.o proc.o equiv.o data.o format.o \
expr.o exec.o intr.o io.o misc.o error.o mem.o names.o \
output.o p1output.o pread.o put.o putpcc.o vax.o formatdata.o \
parse_args.o niceprintf.o cds.o sysdep.o version.o
! OBJECTS = $(OBJECTSd)
! all: f2c
f2c: $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) -o f2c
***************
*** 28,33 ****
--- 30,38 ----
tokdefs.h: tokens
grep -n . <tokens | sed "s/\([^:]*\):\(.*\)/#define \2 \1/" >tokdefs.h
+ install: f2c
+ install -c f2c /gnu/bin
+
cds.o: sysdep.h
exec.o: p1defs.h names.h
expr.o: output.h niceprintf.h names.h
***************
*** 80,86 ****
#Check validity of transmitted source...
xsum.out: xsum
./xsum $b >xsum1.out
! cmp xsum0.out xsum1.out && mv xsum1.out xsum.out
#On non-Unix systems that end lines with carriage-return/newline pairs,
#use "make xsumr.out" rather than "make xsum.out". The -r flag ignores
--- 85,91 ----
#Check validity of transmitted source...
xsum.out: xsum
./xsum $b >xsum1.out
! -cmp xsum0.out xsum1.out && mv xsum1.out xsum.out
#On non-Unix systems that end lines with carriage-return/newline pairs,
#use "make xsumr.out" rather than "make xsum.out". The -r flag ignores
diff -rc --new-file f2c-1993.04.28-fsf/src/mem.c f2c-1993.04.28-amiga/src/mem.c
*** f2c-1993.04.28-fsf/src/mem.c Wed Apr 28 19:08:51 1993
--- f2c-1993.04.28-amiga/src/mem.c Thu Feb 24 21:57:04 1994
***************
*** 27,33 ****
#define MEMBSIZE 32000
#define GMEMBSIZE 16000
! extern void exit();
char *
gmem(n, round)
--- 27,33 ----
#define MEMBSIZE 32000
#define GMEMBSIZE 16000
! extern void volatile exit();
char *
gmem(n, round)