From owner-cvs-ports Sun Feb 16 23:06:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA28409 for cvs-ports-outgoing; Sun, 16 Feb 1997 23:06:57 -0800 (PST) Received: from relay.nuxi.com (nuxi.ucdavis.edu [128.120.37.176]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA28403; Sun, 16 Feb 1997 23:06:54 -0800 (PST) Received: from dragon.nuxi.com (reqf-053.ucdavis.edu [128.120.253.173]) by relay.nuxi.com (8.8.4/8.6.12) with ESMTP id XAA05147; Sun, 16 Feb 1997 23:07:08 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.8.5/8.7.3) id HAA22416; Mon, 17 Feb 1997 07:06:47 GMT Message-ID: <19970216230646.YW60212@dragon.nuxi.com> Date: Sun, 16 Feb 1997 23:06:46 -0800 From: obrien@NUXI.com (David O'Brien) To: pst@shockwave.com (Paul Traina) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-ports@freefall.freebsd.org Subject: Re: cvs commit: src/contrib/gcc/config/i386 freebsd-elf.h freebsd.h References: <199702162055.MAA26493@freefall.freebsd.org> <199702170638.WAA21357@precipice.shockwave.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Disclaimer: Mutt Bites! Organization: The NUXI *BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 In-Reply-To: <199702170638.WAA21357@precipice.shockwave.com>; from Paul Traina on Feb 16, 1997 22:38:33 -0800 Sender: owner-cvs-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Paul Traina writes: > I think you have likely already been yelled at for this, Actually, you are only the second... I expected more. > It's utterly bogus to add this symbol into gcc as a predefined symbol > because MOST 4.4 bsd systems don't have it. Ok, then how about "__post_44bsd__". > The real way to figure out if you're on a late-model BSD system is to include > sys/param.h and check for BSD >= datecode. Yes, but people simply don't do that. If anybody can offer a guarenteed way to include w/o needing to defined something like HAVE_SYS_PARAM_H in the Makefile, I'll switch all ports over to that. There has been a discussion in the ports list about this. We can be high and mightly and tell people they *will* use the BSD macro in , but it simply doesn't happen. The masses use __FreeBSD__ whether we like it or not. I want something that covers FreeBSD, NetBSD, OpenBSD, BSDI. "#if defined(__FreeBSD__) || defined(__OpenBSD__) ... " is simply ludicrist. -- -- David (obrien@NUXI.com -or- obrien@FreeBSD.org)