From owner-freebsd-current Wed Dec 23 12:04:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA00894 for freebsd-current-outgoing; Wed, 23 Dec 1998 12:02:35 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA00889 for ; Wed, 23 Dec 1998 12:02:34 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.9.1/8.9.1) id MAA71623; Wed, 23 Dec 1998 12:09:53 -0800 (PST) (envelope-from sgk) From: Steve Kargl Message-Id: <199812232009.MAA71623@troutmask.apl.washington.edu> Subject: Re: Fortran conundrum In-Reply-To: <199812231947.LAA03735@dingo.cdrom.com> from Mike Smith at "Dec 23, 1998 11:47:40 am" To: mike@smith.net.au (Mike Smith) Date: Wed, 23 Dec 1998 12:09:53 -0800 (PST) Cc: mike@smith.net.au, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Mike Smith: >> According to Mike Smith: >>>> (3) Rip Fortran out of the base distribution. >>>> >>>> (see src/gnu/usr.bin/cc/f77). I have been unsuccessful in moving this >>>> driver out of src/gnu, and still retain its functionality. >>> >>> Can you clarify on the problems inherent in moving the f77 executable? >>> >> >> f77.c contains #include "config.h", and I haven't located where this >> header lives. It defines preprocessor directives like HAVE_VPRINTF, >> but it may in fact contain other things that are less obvious to me. > > It's a one-line file generated at build time by cc_tools/Makefile: > > config.h hconfig.h tconfig.h: > echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > ${.TARGET} > Thanks for trip through include land ;-) > > I'm still looking at what I can do with f77.c. I've submitted a > > PR that removes quite a bit of dead code in f77.c. > > If you're continuing on your way to extracting it completely from the > tree, the PR should be ignored for now, correct? > Well, it's dead code (about 3.5KB). I'm not sure I will have f77, f2c, and libf2c removed by the 3.0.1 freeze because I need to re-learn how to do a port. However, I have a few days off over Xmas. It certainly isn't a critical fix, so you can opt to close the PR by noting a better solution is in the works. -- Steve finger kargl@troutmask.apl.washington.edu http://troutmask.apl.washington.edu/~clesceri/kargl.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message