From owner-freebsd-questions Sat Sep 16 22:02:28 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA26341 for questions-outgoing; Sat, 16 Sep 1995 22:02:28 -0700 Received: from chrome.onramp.net (chrome.onramp.net [199.1.166.202]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA26335 for ; Sat, 16 Sep 1995 22:02:25 -0700 Received: from localhost.jdl.com (localhost.jdl.com [127.0.0.1]) by chrome.onramp.net (8.6.11/8.6.9) with SMTP id AAA14789; Sun, 17 Sep 1995 00:01:24 -0500 Message-Id: <199509170501.AAA14789@chrome.onramp.net> X-Authentication-Warning: chrome.onramp.net: Host localhost.jdl.com didn't use HELO protocol To: "Daniel M. Eischen" cc: elredmon@MIT.EDU, questions@FreeBSD.org Subject: Re: fortran In-reply-to: Your message of "Sat, 16 Sep 1995 18:02:13 CDT." <9509162302.AA02858@iworks.InterWorks.org> Reply-To: jdl@chromatic.com Clarity-Index: null Threat-Level: none Software-Engineering-Dead-Seriousness: There's no excuse for unreadable code. Net-thought: If you meet the Buddha on the net, put him in your Kill file. Date: Sun, 17 Sep 1995 00:01:23 -0500 From: Jon Loeliger Sender: owner-questions@FreeBSD.org Precedence: bulk Apparently, "Daniel M. Eischen" scribbled: > > A couple little nits, probably nothing to do with FreeBSD, but more with the > GNU compiler... Yep. In fact, nothing to do with GNU's fortran compiler either. The "problems" you describe are all classic fortranisms (as found on UN*X). The underscores are by convention, the fortran libraries usually don't directly supply libc, fortran is pass by reference while C is value and in order to get the link right, you need fortran's runtime libraries for the IO system and *only* the compiler even vaguely knows how to get that ld invocation right... :-) (finger down throat). jdl