Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 1999 23:47:12 +0900
From:      SANETO Takanori <sanewo@ba2.so-net.ne.jp>
To:        Brian Fundakowski Feldman <green@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: gcc 2.95.2 
Message-ID:  <199911201447.XAA15567@mail.ba2.so-net.ne.jp>
In-Reply-To: green@FreeBSD.org's message of Fri, 19 Nov 1999 23:24:17 -0500. <Pine.BSF.4.10.9911192323280.91557-100000@green.myip.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.10.9911192323280.91557-100000@green.myip.org>
	Brian Fundakowski Feldman <green@FreeBSD.org> 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

-- 
さねを <URL:mailto:sanewo@ba2.so-net.ne.jp>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911201447.XAA15567>