From owner-freebsd-current Sat Nov 20 6:47:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from mgate04.so-net.ne.jp (mgate04.so-net.ne.jp [210.139.254.151]) by hub.freebsd.org (Postfix) with ESMTP id 9B26C14CD2; Sat, 20 Nov 1999 06:47:24 -0800 (PST) (envelope-from sanewo@ba2.so-net.ne.jp) Received: from mail.ba2.so-net.ne.jp (mail.ba2.so-net.ne.jp [210.139.254.21]) by mgate04.so-net.ne.jp (8.8.8+3.0Wbeta9/3.6W99111911) with ESMTP id XAA02150; Sat, 20 Nov 1999 23:47:22 +0900 (JST) Received: from ba2.so-net.ne.jp (p84b511.sng2.ap.so-net.ne.jp [210.132.181.17]) by mail.ba2.so-net.ne.jp (8.8.8+3.0Wbeta9/3.7W99081617) with ESMTP id XAA15567; Sat, 20 Nov 1999 23:47:21 +0900 (JST) Message-Id: <199911201447.XAA15567@mail.ba2.so-net.ne.jp> To: Brian Fundakowski Feldman Cc: freebsd-current@FreeBSD.org Subject: Re: gcc 2.95.2 In-reply-to: green@FreeBSD.org's message of Fri, 19 Nov 1999 23:24:17 -0500. User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) PGPGPG FLIM/1.13.2 (Kasanui) Emacs/20.4.91 (i686-pc-freebsd4.0) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=ISO-2022-JP Date: Sat, 20 Nov 1999 23:47:12 +0900 From: SANETO Takanori Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article Brian Fundakowski Feldman said: >> 1. /usr/libexec/cpp now has no predefined symbols like __FreeBSD__, >> which makes imake unable to detect OS type automatically. > >I'm certain XFree86 should build using gcc -E and not the C preprocessor >itself. Well, then, correct fix to imake should be as follows: Index: config/imake/imakemdep.h =================================================================== RCS file: /usr/local/cvs/xfree86/xc/config/imake/imakemdep.h,v retrieving revision 1.1.1.5 diff -u -u -r1.1.1.5 imakemdep.h --- imakemdep.h 1999/09/05 14:53:23 1.1.1.5 +++ imakemdep.h 1999/11/20 14:21:23 @@ -269,8 +269,11 @@ #ifdef _CRAY #define DEFAULT_CPP "/lib/pcpp" #endif -#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) +#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) #define DEFAULT_CPP "/usr/libexec/cpp" +#endif +#if defined(__FreeBSD__) +#define USE_CC_E #endif #if defined(__sgi) && defined(__ANSI_CPP__) #define USE_CC_E -- さねを To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message