From owner-freebsd-chat Tue Jun 22 7:40:18 1999 Delivered-To: freebsd-chat@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id DD567153B7 for ; Tue, 22 Jun 1999 07:40:14 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id QAA19749; Tue, 22 Jun 1999 16:40:13 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id QAA01657; Tue, 22 Jun 1999 16:40:12 +0200 (MET DST) Date: Tue, 22 Jun 1999 16:40:12 +0200 From: Eivind Eklund To: "Brian F. Feldman" Cc: chat@freebsd.org Subject: Re: __FreeBSD_version hairsplitting [was Re: cvs commit: doc/en/handbook/ports chapter.sgml] Message-ID: <19990622164012.A817@bitbox.follo.net> References: <19990622112605.H81707@bitbox.follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: ; from Brian F. Feldman on Tue, Jun 22, 1999 at 10:29:02AM -0400 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 22, 1999 at 10:29:02AM -0400, Brian F. Feldman wrote: > On Tue, 22 Jun 1999, Eivind Eklund wrote: > > > how does that not use __FreeBSD_version? Ports do that. And most of > > > the time, with any changes, it is not the API that changes but the > > > ABI. > > > > There are other mechanisms than __FreeBSD_version for handling that. > > __FreeBSD_version is for handling API differences; it is at source > > level. > > Look at the latest pidentd port. How could that be done without __FreeBSD_\ > version? I'm _NOT_ converting pidentd to *blech *autoconf. pidentd is abusing kernel memory as an API. This is still an API change. The ABI is the binary interface that an executable can expect. If this change, the executable need to be recompiled. If the API didn't change along with the ABI, it can be recompiled from the same sources to generate a new working executable. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message