From owner-cvs-all Mon Jan 18 22:48:46 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA25349 for cvs-all-outgoing; Mon, 18 Jan 1999 22:48:46 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA25343; Mon, 18 Jan 1999 22:48:45 -0800 (PST) (envelope-from simokawa@FreeBSD.org) From: Hidetoshi Shimokawa Received: (from simokawa@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA01516; Mon, 18 Jan 1999 22:48:45 -0800 (PST) Date: Mon, 18 Jan 1999 22:48:45 -0800 (PST) Message-Id: <199901190648.WAA01516@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.bin/f2c f2c.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk simokawa 1999/01/18 22:48:44 PST Modified files: usr.bin/f2c f2c.h Log: Replace 'long int' with 'int' for Alpha. This change should have no effect on i386. Pointed out by: Steve Kargl 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. Revision Changes Path 1.4 +6 -6 src/usr.bin/f2c/f2c.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message