summaryrefslogtreecommitdiff
path: root/usr.bin/f2c
Commit message (Collapse)AuthorAgeFilesLines
* Replace 'long int' with 'int' for Alpha.Hidetoshi Shimokawa1999-01-191-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change should have no effect on i386. Pointed out by: Steve Kargl <sgk@troutmask.apl.washington.edu> Quote from http://www.netlib.org/f2c/readme: NOTE: f2c.h defines several types, e.g., real, integer, doublereal. The definitions in f2c.h are suitable for most machines, but if your machine has sizeof(double) > 2*sizeof(long), you may need to adjust f2c.h appropriately. f2c assumes sizeof(doublecomplex) = 2*sizeof(doublereal) sizeof(doublereal) = sizeof(complex) sizeof(doublereal) = 2*sizeof(real) sizeof(real) = sizeof(integer) sizeof(real) = sizeof(logical) sizeof(real) = 2*sizeof(shortint) EQUIVALENCEs may not be translated correctly if these assumptions are violated. On machines, such as those using a DEC Alpha processor, on which sizeof(short) == 2, sizeof(int) == sizeof(float) == 4, and sizeof(long) == sizeof(double) == 8, it suffices to modify f2c.h by removing the first occurrence of "long " on each line containing "long ", e.g., by issuing the commands mv f2c.h f2c.h0 sed 's/long //' f2c.h0 >f2c.h On such machines, one can enable INTEGER*8 by uncommenting the typedef of longint in f2c.h, so it reads typedef long longint; by compiling libI77 with -DAllow_TYQUAD, and by adjusting libF77/makefile as described in libF77/README. Notes: svn path=/head/; revision=42825
* From the submitter:Doug Rabson1999-01-101-2/+2
| | | | | | | | | | | | | I found the reason why f77 so offen dies on alpha. Here is a fix. "Const" is a union of int and double. If nelt->constblock.Const.ci > 0 then it trys to evaluate it as double and floating point exception occurs. Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Obtained from: NetBSD Notes: svn path=/head/; revision=42483
* During compilation of a Fortran program f2c/f77 will spew thePoul-Henning Kamp1998-07-243-11/+23
| | | | | | | | | | | | | | | | name of entry points, functions, subroutines, and program to stderr error. The enclosed patches do 3 things: (1) Silenced the output to stderr. (2) Added a -v option to f2c and f77. This will turn on a verbose mode, and dumps quite a bit of stuff to stderr. (3) Updated the f2c man page. PR: 7369 Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu> Notes: svn path=/head/; revision=37854
* Fixed `make -jN' for large N. Just put all generated headers in SRCS.Bruce Evans1998-03-061-1/+1
| | | | Notes: svn path=/head/; revision=34120
* Install f2c.hJean-Marc Zucconi1997-04-241-0/+4
| | | | | | | Reviewed by: bde Notes: svn path=/head/; revision=25126
* Upgrade to the 1997/02/19 version.Jean-Marc Zucconi1997-04-1341-665/+1100
| | | | Notes: svn path=/head/; revision=24846
* Use the same format for the "expect N shift reduce conflicts" messageBruce Evans1996-10-251-1/+1
| | | | | | | | as in the one other place in /usr/src that prints such an "expect" message (amd). Notes: svn path=/head/; revision=19179
* Document f2c's -o optionMarc G. Fournier1996-10-221-0/+4
| | | | | | | | | Closes: PR#docs/1272 Submitted by: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> Notes: svn path=/head/; revision=19094
* Convert f2c.1 to mdoc format.Mike Pritchard1996-05-151-297/+230
| | | | | | | Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu> Notes: svn path=/head/; revision=15785
* Fixed some minor formatting problems to silence manck some more.Mike Pritchard1996-02-121-9/+3
| | | | | | | | | | | | Corrected some bogus cross references to man pages that we don't/won't have and either deleted them, or found a more appropriate man page that we do have. Various other minor changes to silence manck. Manck is currently down to about 200 lines of errors, down from the 500 - 600+ when I started all this. Notes: svn path=/head/; revision=14042
* recording cvs-1.6 file deathPeter Wemm1995-12-3011-3155/+0
| | | | Notes: svn path=/cvs2svn/branches/ATT/; revision=13122
* Makefile: use CFLAGS+= instead of CFLAGS=. Don't use the f2c's malloc.Jean-Marc Zucconi1995-09-282-7/+15
| | | | | | | main.c: reinstitute the -o option to rename C output file. Notes: svn path=/head/; revision=11058
* Update to the 1995/09/20 version. Previous version was 1993/12/17Jean-Marc Zucconi1995-09-2850-1910/+4984
| | | | | | | The diffs are large mainly because of prototyping changes. Notes: svn path=/head/; revision=11057
* Don't default to -g in ${CFLAGS}. Developers can still use `make g=-g ...'Bruce Evans1995-01-211-1/+1
| | | | | | | | for debugging. The default ${CFLAGS} still clobbers the system default of -O2 to -O. Notes: svn path=/head/; revision=5765
* Remove the f77 script now that we are instead installing a f77 programL Jonas Olsson1994-10-271-4/+0
| | | | | | | (that does the same as the script). The f77 program lives in cc/f77. Notes: svn path=/head/; revision=3933
* f77.script resides in source, not obj dirPaul Traina1994-10-011-1/+1
| | | | Notes: svn path=/head/; revision=3273
* Add f77 shell script frontend for f2c/gccPaul Traina1994-09-302-0/+118
| | | | Notes: svn path=/head/; revision=3233
* Added the y.tab.h file to the CLEANFILE target.Andreas Schulz1994-02-061-1/+1
| | | | Notes: svn path=/head/; revision=1093
* Sprinkled with ${.CURDIR} to get the builds of gram.c and tokdefs.hL Jonas Olsson1994-01-291-6/+9
| | | | | | | correct. Notes: svn path=/head/; revision=1031
* Added -o option to rename C output file. This only works when FortranL Jonas Olsson1994-01-122-2/+12
| | | | | | | | input is from a file, not stdin. Added some support for this in teh parse function. Notes: svn path=/head/; revision=970
* Replaced makefile with a BSD Makefile. Moved the unformatted man pageL Jonas Olsson1994-01-052-191/+365
| | | | | | | to f2c.1. Removed an automatically generated file and a checksum file. Notes: svn path=/head/; revision=946
* f2c from netlib.att.com Jan 4 1994L Jonas Olsson1994-01-0565-0/+30801
Notes: svn path=/cvs2svn/branches/att/; revision=943