From owner-freebsd-current Tue Sep 1 22:38:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA15499 for freebsd-current-outgoing; Tue, 1 Sep 1998 22:38:27 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from shire.domestic.de (kuebart.stuttgart.netsurf.de [194.233.216.182]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA15491 for ; Tue, 1 Sep 1998 22:38:25 -0700 (PDT) (envelope-from joki@kuebart.stuttgart.netsurf.de) Received: from yacht.domestic.de (yacht.domestic.de [192.168.1.4]) by shire.domestic.de (8.8.8/8.8.7) with ESMTP id HAA17758; Wed, 2 Sep 1998 07:36:46 +0200 (CEST) (envelope-from joki@shire.domestic.de) From: Joachim Kuebart Received: (from joki@localhost) by yacht.domestic.de (8.9.1/8.8.7) id HAA01414; Wed, 2 Sep 1998 07:39:53 +0200 (CEST) (envelope-from joki@shire.domestic.de) Message-Id: <199809020539.HAA01414@yacht.domestic.de> Subject: Re: XFree86 and ELF In-Reply-To: <19980902123708.A21469@rf900.physics.usyd.edu.au> from David Dawes at "Sep 2, 98 12:37:08 pm" To: dawes@rf900.physics.usyd.edu.au (David Dawes) Date: Wed, 2 Sep 1998 07:39:53 +0200 (CEST) Cc: joki@kuebart.stuttgart.netsurf.de, roberto@keltia.freenix.fr, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (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 David Dawes wrote: > Can I ask a naive question? Is there any reason the FreeBSD/ELF rules > need to be different from those used for Linux/ELF (see lnxLib.cf)? Also, > please keep in mind that bsdLib.rules is used for NetBSD and OpenBSD too. I haven't really looked at the Linux rules closely enough to comment on that. However, if they could be used it would be worth a little work. > >> > -#if defined(Lynx) || (defined(SYSV) || defined(SVR4)) && !defined(ACK_ASSEMBLER) || (defined(linux) || defined(__OS2ELF__)) && defined(__ELF__) > >> > +#if defined(Lynx) || (defined(SYSV) || defined(SVR4)) && !defined(ACK_ASSEMBLER) || (defined(__FreeBSD__) || defined(linux) || defined(__OS2ELF__)) && defined(__ELF__) > > My preference here is to remove the OS checks, which should simplify that > #ifdef a bit. To be honest I thought of that change but was afraid to do it. I don't understand why it isn't simply '#ifdef __ELF__' in the first place, so I was afraid to break things for somebody else. cu Jo --------------------------------------------------------------------- FreeBSD: The Power to Serve Joachim Kuebart Tel: +49 711 653706 Oh god, god... My tongue is asleep and Germany my teeth itch. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message