Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
F77_aloc.c | H A D | 28-Dec-2021 | 561 | 34 | 28 | |
Fmain.c | H A D | 28-Dec-2021 | 18.4 KiB | 701 | 574 | |
Makefile | H A D | 28-Dec-2021 | 2.4 KiB | 64 | 52 | |
Notice | H A D | 28-Dec-2021 | 1.2 KiB | 24 | 20 | |
README | H A D | 28-Dec-2021 | 7 KiB | 169 | 135 | |
abort_.c | H A D | 28-Dec-2021 | 213 | 17 | 13 | |
backspace.c | H A D | 28-Dec-2021 | 1.8 KiB | 99 | 97 | |
c_abs.c | H A D | 28-Dec-2021 | 205 | 15 | 11 | |
c_cos.c | H A D | 28-Dec-2021 | 261 | 17 | 13 | |
c_div.c | H A D | 28-Dec-2021 | 665 | 37 | 33 | |
c_exp.c | H A D | 28-Dec-2021 | 271 | 20 | 15 | |
c_log.c | H A D | 28-Dec-2021 | 293 | 17 | 14 | |
c_sin.c | H A D | 28-Dec-2021 | 259 | 17 | 13 | |
c_sqrt.c | H A D | 28-Dec-2021 | 506 | 35 | 30 | |
cabs.c | H A D | 28-Dec-2021 | 428 | 28 | 25 | |
cds.c | H A D | 28-Dec-2021 | 4.1 KiB | 196 | 159 | |
close.c | H A D | 28-Dec-2021 | 1.3 KiB | 97 | 94 | |
d_abs.c | H A D | 28-Dec-2021 | 151 | 13 | 11 | |
d_acos.c | H A D | 28-Dec-2021 | 179 | 14 | 12 | |
d_asin.c | H A D | 28-Dec-2021 | 179 | 14 | 12 | |
d_atan.c | H A D | 28-Dec-2021 | 179 | 14 | 12 | |
d_atn2.c | H A D | 28-Dec-2021 | 205 | 14 | 12 | |
d_cnjg.c | H A D | 28-Dec-2021 | 165 | 13 | 11 | |
d_cos.c | H A D | 28-Dec-2021 | 175 | 14 | 12 | |
d_cosh.c | H A D | 28-Dec-2021 | 179 | 14 | 12 | |
d_dim.c | H A D | 28-Dec-2021 | 165 | 11 | 9 | |
d_exp.c | H A D | 28-Dec-2021 | 175 | 14 | 12 | |
d_imag.c | H A D | 28-Dec-2021 | 134 | 11 | 9 | |
d_int.c | H A D | 28-Dec-2021 | 203 | 14 | 12 | |
d_lg10.c | H A D | 28-Dec-2021 | 225 | 16 | 13 | |
d_log.c | H A D | 28-Dec-2021 | 175 | 14 | 12 | |
d_mod.c | H A D | 28-Dec-2021 | 637 | 41 | 39 | |
d_nint.c | H A D | 28-Dec-2021 | 215 | 15 | 13 | |
d_prod.c | H A D | 28-Dec-2021 | 140 | 11 | 9 | |
d_sign.c | H A D | 28-Dec-2021 | 199 | 13 | 11 | |
d_sin.c | H A D | 28-Dec-2021 | 175 | 14 | 12 | |
d_sinh.c | H A D | 28-Dec-2021 | 179 | 14 | 12 | |
d_sqrt.c | H A D | 28-Dec-2021 | 179 | 14 | 12 | |
d_tan.c | H A D | 28-Dec-2021 | 175 | 14 | 12 | |
d_tanh.c | H A D | 28-Dec-2021 | 179 | 14 | 12 | |
data.c | H A D | 28-Dec-2021 | 10.3 KiB | 494 | 412 | |
defines.h | H A D | 28-Dec-2021 | 8.5 KiB | 301 | 204 | |
defs.h | H A D | 28-Dec-2021 | 33.1 KiB | 1,056 | 767 | |
derf_.c | H A D | 28-Dec-2021 | 172 | 13 | 11 | |
derfc_.c | H A D | 28-Dec-2021 | 186 | 15 | 11 | |
dfe.c | H A D | 28-Dec-2021 | 2.8 KiB | 157 | 153 | |
dolio.c | H A D | 28-Dec-2021 | 404 | 21 | 17 | |
due.c | H A D | 28-Dec-2021 | 1.5 KiB | 69 | 67 | |
ef1asc_.c | H A D | 28-Dec-2021 | 431 | 20 | 14 | |
ef1cmc_.c | H A D | 28-Dec-2021 | 360 | 15 | 11 | |
endfile.c | H A D | 28-Dec-2021 | 3.3 KiB | 197 | 186 | |
equiv.c | H A D | 28-Dec-2021 | 9.1 KiB | 414 | 278 | |
erf_.c | H A D | 28-Dec-2021 | 158 | 13 | 11 | |
erfc_.c | H A D | 28-Dec-2021 | 163 | 13 | 11 | |
err.c | H A D | 28-Dec-2021 | 6 KiB | 279 | 265 | |
error.c | H A D | 28-Dec-2021 | 4.9 KiB | 348 | 283 | |
exec.c | H A D | 28-Dec-2021 | 19.6 KiB | 935 | 712 | |
exit.c | H A D | 28-Dec-2021 | 496 | 39 | 27 | |
expr.c | H A D | 28-Dec-2021 | 65.9 KiB | 3,437 | 2,766 | |
f2c.1 | H A D | 28-Dec-2021 | 6.7 KiB | 209 | 144 | |
f2c.h | H A D | 28-Dec-2021 | 4.8 KiB | 239 | 183 | |
f2c.ps | H A D | 28-Dec-2021 | 139.9 KiB | |||
fio.h | H A D | 28-Dec-2021 | 2.5 KiB | 116 | 101 | |
fmt.c | H A D | 28-Dec-2021 | 7.7 KiB | 489 | 484 | |
fmt.h | H A D | 28-Dec-2021 | 1.8 KiB | 100 | 97 | |
fmtlib.c | H A D | 28-Dec-2021 | 798 | 46 | 41 | |
format.c | H A D | 28-Dec-2021 | 56.7 KiB | 2,525 | 2,082 | |
format.h | H A D | 28-Dec-2021 | 458 | 13 | 8 | |
formatdata.c | H A D | 28-Dec-2021 | 26 KiB | 1,167 | 976 | |
fp.h | H A D | 28-Dec-2021 | 665 | 29 | 18 | |
ftell_.c | H A D | 28-Dec-2021 | 667 | 38 | 34 | |
ftypes.h | H A D | 28-Dec-2021 | 1.3 KiB | 52 | 34 | |
getarg_.c | H A D | 28-Dec-2021 | 495 | 29 | 20 | |
getenv_.c | H A D | 28-Dec-2021 | 975 | 52 | 33 | |
gram.c | H A D | 28-Dec-2021 | 84.1 KiB | 2,672 | 2,633 | |
gram.ccc | H A D | 28-Dec-2021 | 82 KiB | 2,634 | 2,570 | |
gram.dcl | H A D | 28-Dec-2021 | 8.3 KiB | 417 | 370 | |
gram.exec | H A D | 28-Dec-2021 | 3 KiB | 144 | 125 | |
gram.expr | H A D | 28-Dec-2021 | 3.1 KiB | 143 | 127 | |
gram.io | H A D | 28-Dec-2021 | 3.2 KiB | 174 | 153 | |
h_abs.c | H A D | 28-Dec-2021 | 151 | 13 | 11 | |
h_dim.c | H A D | 28-Dec-2021 | 163 | 11 | 9 | |
h_dnnt.c | H A D | 28-Dec-2021 | 219 | 15 | 13 | |
h_indx.c | H A D | 28-Dec-2021 | 375 | 27 | 23 | |
h_len.c | H A D | 28-Dec-2021 | 138 | 11 | 9 | |
h_mod.c | H A D | 28-Dec-2021 | 140 | 11 | 9 | |
h_nint.c | H A D | 28-Dec-2021 | 207 | 15 | 13 | |
h_sign.c | H A D | 28-Dec-2021 | 199 | 13 | 11 | |
hl_ge.c | H A D | 28-Dec-2021 | 279 | 13 | 11 | |
hl_gt.c | H A D | 28-Dec-2021 | 278 | 13 | 11 | |
hl_le.c | H A D | 28-Dec-2021 | 279 | 13 | 11 | |
hl_lt.c | H A D | 28-Dec-2021 | 278 | 13 | 11 | |
i_abs.c | H A D | 28-Dec-2021 | 147 | 13 | 11 | |
i_dim.c | H A D | 28-Dec-2021 | 158 | 11 | 9 | |
i_dnnt.c | H A D | 28-Dec-2021 | 217 | 15 | 13 | |
i_indx.c | H A D | 28-Dec-2021 | 363 | 27 | 23 | |
i_len.c | H A D | 28-Dec-2021 | 136 | 11 | 9 | |
i_mod.c | H A D | 28-Dec-2021 | 144 | 11 | 9 | |
i_nint.c | H A D | 28-Dec-2021 | 205 | 15 | 13 | |
i_sign.c | H A D | 28-Dec-2021 | 193 | 13 | 11 | |
iargc_.c | H A D | 28-Dec-2021 | 129 | 12 | 10 | |
iio.c | H A D | 28-Dec-2021 | 2.3 KiB | 143 | 137 | |
ilnw.c | H A D | 28-Dec-2021 | 1 KiB | 78 | 71 | |
init.c | H A D | 28-Dec-2021 | 11.3 KiB | 518 | 420 | |
inquire.c | H A D | 28-Dec-2021 | 2.5 KiB | 111 | 108 | |
intr.c | H A D | 28-Dec-2021 | 22.4 KiB | 978 | 765 | |
io.c | H A D | 28-Dec-2021 | 30 KiB | 1,509 | 1,296 | |
iob.h | H A D | 28-Dec-2021 | 548 | 27 | 23 | |
l_ge.c | H A D | 28-Dec-2021 | 267 | 13 | 11 | |
l_gt.c | H A D | 28-Dec-2021 | 266 | 13 | 11 | |
l_le.c | H A D | 28-Dec-2021 | 267 | 13 | 11 | |
l_lt.c | H A D | 28-Dec-2021 | 266 | 13 | 11 | |
lbitbits.c | H A D | 28-Dec-2021 | 1 KiB | 63 | 55 | |
lbitshft.c | H A D | 28-Dec-2021 | 191 | 12 | 10 | |
lex.c | H A D | 28-Dec-2021 | 32.9 KiB | 1,697 | 1,453 | |
lio.h | H A D | 28-Dec-2021 | 1.5 KiB | 75 | 61 | |
lread.c | H A D | 28-Dec-2021 | 11.9 KiB | 661 | 639 | |
lwrite.c | H A D | 28-Dec-2021 | 4.5 KiB | 311 | 293 | |
machdefs.h | H A D | 28-Dec-2021 | 1 KiB | 38 | 27 | |
main.c | H A D | 28-Dec-2021 | 2.2 KiB | 143 | 113 | |
malloc.c | H A D | 28-Dec-2021 | 3.5 KiB | 166 | 133 | |
mathh.h | H A D | 28-Dec-2021 | 110 | 7 | 1 | |
mem.c | H A D | 28-Dec-2021 | 5.3 KiB | 269 | 225 | |
memset.c | H A D | 28-Dec-2021 | 1.9 KiB | 67 | 30 | |
misc.c | H A D | 28-Dec-2021 | 21.4 KiB | 1,330 | 1,057 | |
names.c | H A D | 28-Dec-2021 | 21 KiB | 836 | 625 | |
names.h | H A D | 28-Dec-2021 | 569 | 20 | 15 | |
niceprintf.c | H A D | 28-Dec-2021 | 10.6 KiB | 442 | 339 | |
niceprintf.h | H A D | 28-Dec-2021 | 412 | 17 | 3 | |
open.c | H A D | 28-Dec-2021 | 4.5 KiB | 244 | 234 | |
output.c | H A D | 28-Dec-2021 | 41.3 KiB | 1,705 | 1,356 | |
output.h | H A D | 28-Dec-2021 | 2.1 KiB | 65 | 31 | |
p1defs.h | H A D | 28-Dec-2021 | 5.6 KiB | 159 | 54 | |
p1output.c | H A D | 28-Dec-2021 | 13.9 KiB | 724 | 545 | |
parse.h | H A D | 28-Dec-2021 | 1.1 KiB | 48 | 38 | |
parse_args.c | H A D | 28-Dec-2021 | 13.8 KiB | 559 | 367 | |
pccdefs.h | H A D | 28-Dec-2021 | 1.2 KiB | 65 | 56 | |
pow_ci.c | H A D | 28-Dec-2021 | 345 | 21 | 16 | |
pow_dd.c | H A D | 28-Dec-2021 | 210 | 14 | 12 | |
pow_di.c | H A D | 28-Dec-2021 | 381 | 36 | 32 | |
pow_hh.c | H A D | 28-Dec-2021 | 422 | 34 | 30 | |
pow_ii.c | H A D | 28-Dec-2021 | 421 | 34 | 30 | |
pow_qq.c | H A D | 28-Dec-2021 | 449 | 34 | 30 | |
pow_ri.c | H A D | 28-Dec-2021 | 369 | 36 | 32 | |
pow_zi.c | H A D | 28-Dec-2021 | 715 | 52 | 47 | |
pow_zz.c | H A D | 28-Dec-2021 | 483 | 24 | 19 | |
pread.c | H A D | 28-Dec-2021 | 17.4 KiB | 991 | 904 | |
proc.c | H A D | 28-Dec-2021 | 38.1 KiB | 1,826 | 1,451 | |
put.c | H A D | 28-Dec-2021 | 9.8 KiB | 442 | 296 | |
putpcc.c | H A D | 28-Dec-2021 | 43.2 KiB | 2,076 | 1,689 | |
qbitbits.c | H A D | 28-Dec-2021 | 1.1 KiB | 67 | 58 | |
qbitshft.c | H A D | 28-Dec-2021 | 191 | 12 | 10 | |
r_abs.c | H A D | 28-Dec-2021 | 139 | 13 | 11 | |
r_acos.c | H A D | 28-Dec-2021 | 167 | 14 | 12 | |
r_asin.c | H A D | 28-Dec-2021 | 167 | 14 | 12 | |
r_atan.c | H A D | 28-Dec-2021 | 167 | 14 | 12 | |
r_atn2.c | H A D | 28-Dec-2021 | 187 | 14 | 12 | |
r_cnjg.c | H A D | 28-Dec-2021 | 151 | 12 | 10 | |
r_cos.c | H A D | 28-Dec-2021 | 163 | 14 | 12 | |
r_cosh.c | H A D | 28-Dec-2021 | 167 | 14 | 12 | |
r_dim.c | H A D | 28-Dec-2021 | 147 | 11 | 9 | |
r_exp.c | H A D | 28-Dec-2021 | 163 | 14 | 12 | |
r_imag.c | H A D | 28-Dec-2021 | 122 | 11 | 9 | |
r_int.c | H A D | 28-Dec-2021 | 191 | 14 | 12 | |
r_lg10.c | H A D | 28-Dec-2021 | 213 | 16 | 13 | |
r_log.c | H A D | 28-Dec-2021 | 163 | 14 | 12 | |
r_mod.c | H A D | 28-Dec-2021 | 627 | 41 | 39 | |
r_nint.c | H A D | 28-Dec-2021 | 203 | 15 | 13 | |
r_sign.c | H A D | 28-Dec-2021 | 181 | 13 | 11 | |
r_sin.c | H A D | 28-Dec-2021 | 163 | 14 | 12 | |
r_sinh.c | H A D | 28-Dec-2021 | 167 | 14 | 12 | |
r_sqrt.c | H A D | 28-Dec-2021 | 167 | 14 | 12 | |
r_tan.c | H A D | 28-Dec-2021 | 163 | 14 | 12 | |
r_tanh.c | H A D | 28-Dec-2021 | 167 | 14 | 12 | |
rawio.h | H A D | 28-Dec-2021 | 1.1 KiB | 60 | 52 | |
rdfmt.c | H A D | 28-Dec-2021 | 8.2 KiB | 477 | 456 | |
rewind.c | H A D | 28-Dec-2021 | 408 | 25 | 24 | |
rsfe.c | H A D | 28-Dec-2021 | 1.4 KiB | 80 | 77 | |
rsli.c | H A D | 28-Dec-2021 | 1.7 KiB | 104 | 93 | |
rsne.c | H A D | 28-Dec-2021 | 11.2 KiB | 611 | 579 | |
s_cat.c | H A D | 28-Dec-2021 | 1.3 KiB | 75 | 67 | |
s_cmp.c | H A D | 28-Dec-2021 | 655 | 45 | 38 | |
s_copy.c | H A D | 28-Dec-2021 | 957 | 52 | 39 | |
s_paus.c | H A D | 28-Dec-2021 | 1.5 KiB | 90 | 84 | |
s_rnge.c | H A D | 28-Dec-2021 | 654 | 25 | 20 | |
s_stop.c | H A D | 28-Dec-2021 | 531 | 39 | 35 | |
sfe.c | H A D | 28-Dec-2021 | 793 | 43 | 39 | |
sig_die.c | H A D | 28-Dec-2021 | 479 | 30 | 25 | |
signal_.c | H A D | 28-Dec-2021 | 395 | 22 | 17 | |
sue.c | H A D | 28-Dec-2021 | 1.8 KiB | 84 | 82 | |
sysdep.c | H A D | 28-Dec-2021 | 11.9 KiB | 520 | 438 | |
sysdep.h | H A D | 28-Dec-2021 | 2.7 KiB | 100 | 50 | |
system_.c | H A D | 28-Dec-2021 | 599 | 38 | 30 | |
tokdefs.h | H A D | 28-Dec-2021 | 1.8 KiB | 101 | 100 | |
tokens | H A D | 28-Dec-2021 | 733 | 101 | 100 | |
typesize.c | H A D | 28-Dec-2021 | 319 | 13 | 11 | |
uio.c | H A D | 28-Dec-2021 | 1.5 KiB | 69 | 67 | |
usignal.h | H A D | 28-Dec-2021 | 124 | 8 | 7 | |
util.c | H A D | 28-Dec-2021 | 824 | 52 | 48 | |
vax.c | H A D | 28-Dec-2021 | 11.8 KiB | 567 | 456 | |
version.c | H A D | 28-Dec-2021 | 107 | 3 | 2 | |
wref.c | H A D | 28-Dec-2021 | 4.4 KiB | 277 | 259 | |
wrtfmt.c | H A D | 28-Dec-2021 | 7.8 KiB | 388 | 369 | |
wsfe.c | H A D | 28-Dec-2021 | 1.6 KiB | 85 | 80 | |
wsle.c | H A D | 28-Dec-2021 | 684 | 41 | 38 | |
wsne.c | H A D | 28-Dec-2021 | 412 | 27 | 24 | |
xsum.c | H A D | 28-Dec-2021 | 6.5 KiB | 237 | 204 | |
xwsne.c | H A D | 28-Dec-2021 | 1.1 KiB | 73 | 67 | |
z_abs.c | H A D | 28-Dec-2021 | 201 | 13 | 11 | |
z_cos.c | H A D | 28-Dec-2021 | 270 | 15 | 13 | |
z_div.c | H A D | 28-Dec-2021 | 675 | 37 | 32 | |
z_exp.c | H A D | 28-Dec-2021 | 279 | 18 | 15 | |
z_log.c | H A D | 28-Dec-2021 | 306 | 17 | 14 | |
z_sin.c | H A D | 28-Dec-2021 | 268 | 15 | 13 | |
z_sqrt.c | H A D | 28-Dec-2021 | 493 | 30 | 27 |
README
1Type "make" to check the validity of the f2c source and compile f2c. 2 3On a PC, you may need to compile xsum.c with -DMSDOS (i.e., with 4MSDOS #defined). 5 6If your compiler does not understand ANSI/ISO C syntax (i.e., if 7you have a K&R C compiler), compile with -DKR_headers . 8 9On non-Unix systems where files have separate binary and text modes, 10you may need to "make xsumr.out" rather than "make xsum.out". 11 12If (in accordance with what follows) you need to any of the source 13files (excluding the makefile), first issue a "make xsum.out" (or, if 14appropriate, "make xsumr.out") to check the validity of the f2c source, 15then make your changes, then type "make f2c". 16 17The file usignal.h is for the benefit of strictly ANSI include files 18on a UNIX system -- the ANSI signal.h does not define SIGHUP or SIGQUIT. 19You may need to modify usignal.h if you are not running f2c on a UNIX 20system. 21 22Should you get the message "xsum0.out xsum1.out differ", see what lines 23are different (`diff xsum0.out xsum1.out`) and ask netlib 24(e.g., netlib@netlib.bell-labs.com) to send you the files in question, 25plus the current xsum0.out (which may have changed) "from f2c/src". 26For example, if exec.c and expr.c have incorrect check sums, you would 27send netlib the message 28 send exec.c expr.c xsum0.out from f2c/src 29You can also ftp these files from netlib.bell-labs.com; for more 30details, ask netlib@netlib.bell-labs.com to "send readme from f2c". 31 32On some systems, the malloc and free in malloc.c let f2c run faster 33than do the standard malloc and free. Other systems may not tolerate 34redefinition of malloc and free (though changes of 8 Nov. 1994 may 35render this less of a problem than hitherto). If yours is such a 36system, you may either modify the makefile appropriately (remove 37"malloc.o" from the "OBJECTS =" assignment), or simply execute 38 cc -c -DCRAY malloc.c 39before typing "make". Still other systems have a -lmalloc that 40provides performance competitive with that from malloc.c; you may 41wish to compare the two on your system. In general, if f2c faults 42when you first try to run it, try compiling malloc.c with -DCRAY; 43this is necessary with at least one version of Linux (but not with 44others). 45 46On some BSD systems, you may need to create a file named "string.h" 47whose single line is 48#include <strings.h> 49you may need to add " -Dstrchr=index" to the "CFLAGS =" assignment 50in the makefile, and you may need to add " memset.o" to the "OBJECTS =" 51assignment in the makefile -- see the comments in memset.c . 52 53For non-UNIX systems, you may need to change some things in sysdep.c, 54such as the choice of intermediate file names. 55 56On some systems, you may need to modify parts of sysdep.h (which is 57included by defs.h). In particular, for Sun 4.1 systems and perhaps 58some others, you need to comment out the typedef of size_t. For some 59systems (e.g., IRIX 4.0.1 and AIX) it is better to add 60#define ANSI_Libraries 61to the beginning of sysdep.h (or to supply -DANSI_Libraries in the 62makefile). 63 64Alas, some systems #define __STDC__ but do not provide a true standard 65(ANSI or ISO) C environment, e.g. do not provide stdlib.h . If yours 66is such a system, then (a) you should complain loudly to your vendor 67about __STDC__ being erroneously defined, and (b) you should insert 68#undef __STDC__ 69at the beginning of sysdep.h . You may need to make other adjustments. 70 71For some non-ANSI versions of stdio, you must change the values given 72to binread and binwrite in sysdep.c from "rb" and "wb" to "r" and "w". 73You may need to make this change if you run f2c and get an error 74message of the form 75 Compiler error ... cannot open intermediate file ... 76 77On many systems, it is best to combine libF77 and libI77 into a single 78library, say libf2c, as suggested in "readme from f2c". If you do not 79do this, then you should adjust the definition of link_msg in sysdep.c 80appropriately (e.g., replacing "-lf2c" by "-lF77 -lI77"). On Unix 81systems, the easiest way to create libf2c.a is to make libF77/libF77.a 82and libI77/libI77.a (after reading and heeding libF77/README and 83libI77/README), and then to say 84 85 cp libF77/libF77.a libf2c.a 86 ar ruv libf2c.a libI77/*.o 87 ranlib libf2c.a 88 89The last step, ranlib, may not be necessary on your system. On 90other systems, just compile all the .c files in libF77 and libI77, 91and put the resulting objects (except one or both of the Version 92objects) into a library, called perhaps f2c.lib . 93 94In general, under Linux it is necessary to compile libI77 with 95-DNON_UNIX_STDIO . Under at least one variant of Linux, you can make 96and install a shared-library version of libf2c by compiling libI77 97with -DNON_UNIX_STDIO, creating libf2c.a as above, and then executing 98 99 mkdir t 100 ln lib?77/*.o t 101 cd t; cc -shared -o ../libf2c.so -Wl,-soname,libf2c.so.1 *.o 102 cd .. 103 rm -r t 104 rm /usr/lib/libf2c* 105 mv libf2c.a libf2c.so /usr/lib 106 cd /usr/lib 107 ln libf2c.so libf2c.so.1 108 ln libf2c.so libf2c.so.1.0.0 109 110On some other systems, /usr/local/lib is the appropriate installation 111directory. 112 113 114Some older C compilers object to 115 typedef void (*foo)(); 116or to 117 typedef void zap; 118 zap (*foo)(); 119If yours is such a compiler, change the definition of VOID in 120f2c.h from void to int. 121 122For convenience with systems that use control-Z to denote end-of-file, 123f2c treats control-Z characters (ASCII 26, '\x1a') that appear at the 124beginning of a line as an end-of-file indicator. You can disable this 125test by compiling lex.c with NO_EOF_CHAR_CHECK #defined, or can 126change control-Z to some other character by #defining EOF_CHAR to 127be the desired value. 128 129 130If your machine has IEEE, VAX, or IBM-mainframe arithmetic, but your 131printf is inaccurate (e.g., with Symantec C++ version 6.0, 132printf("%.17g",12.) prints 12.000000000000001), you can make f2c print 133correctly rounded numbers by compiling with -DUSE_DTOA and adding 134dtoa.o g_fmt.o to the makefile's OBJECTS = line, so it becomes 135 136 OBJECTS = $(OBJECTSd) malloc.o dtoa.o g_fmt.o 137 138Also add the rule 139 140 dtoa.o: dtoa.c 141 $(CC) -c $(CFLAGS) -DMALLOC=ckalloc -DIEEE... dtoa.c 142 143(without the initial tab) to the makefile, where IEEE... is one of 144IEEE_MC68k, IEEE_8087, VAX, or IBM, depending on your machine's 145arithmetic. See the comments near the start of dtoa.c. 146 147The relevant source files, dtoa.c and g_fmt.c, are available 148separately from netlib's fp directory. For example, you could 149send the E-mail message 150 151 send dtoa.c g_fmt.c from fp 152 153to netlib@netlib.bell-labs.com (or use anonymous ftp from 154netlib.bell-labs.com and look in directory /netlib/fp). 155 156The makefile has a rule for creating tokdefs.h. If you cannot use the 157makefile, an alternative is to extract tokdefs.h from the beginning of 158gram.c: it's the first 100 lines. 159 160 161Please send bug reports to dmg@bell-labs.com . The old index file 162(now called "readme" due to unfortunate changes in netlib conventions: 163"send readme from f2c") will report recent changes in the recent-change 164log at its end; all changes will be shown in the "changes" file 165("send changes from f2c"). To keep current source, you will need to 166request xsum0.out and version.c, in addition to the changed source 167files. Changes first appear on netlib@netlib.bell-labs.com, and in due 168time propagate to the other netlib sites that are kept current. 169