From owner-cvs-all Tue Nov 23 16:33:35 1999 Delivered-To: cvs-all@freebsd.org Received: from FreeBSD.ORG (hibou.obs-besancon.fr [193.52.184.7]) by hub.freebsd.org (Postfix) with ESMTP id DB2DA15498; Tue, 23 Nov 1999 16:33:26 -0800 (PST) (envelope-from jmz@FreeBSD.ORG) Received: (from jmz@localhost) by qix.jmz.org (8.9.3/8.9.3) id BAA79492; Wed, 24 Nov 1999 01:34:56 +0100 (MET) (envelope-from jmz@FreeBSD.ORG) Date: Wed, 24 Nov 1999 01:34:56 +0100 (MET) Message-Id: <199911240034.BAA79492@qix.jmz.org> From: Jean-Marc Zucconi To: green@FreeBSD.ORG Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG In-reply-to: (message from Brian Fundakowski Feldman on Tue, 23 Nov 1999 18:05:15 -0500 (EST)) Subject: Re: cvs commit: ports/x11/XFree86 Makefile X-Mailer: Emacs References: Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >>>>> Brian Fundakowski Feldman writes: > On Tue, 23 Nov 1999, Jean-Marc Zucconi wrote: >> > Why don't you switch it to gcc -E for all of them? >> >> This will not work. gcc -E processes .c files only. In particular it >> ignores assembly language files: >> cc -E -traditional -DUSE_GAS -D__ELF__ -I. -I../../../../../programs/Xserver/h >> w/xfree86/common -I../../../../../programs/Xserver/hw/xfree86/os-support >> -I../../../../../programs/Xserver/include -I../../../../../exports/include/X1 >> 1 -I../accel/s3 BUSmemcpy.s | grep -v '^\#' > BUSmemcpy.i >> *** Error code 1 (continuing) > Ah, but gcc -E - < file? Sure but this does not work with the example above unless you modify a lot of makefiles in the XFree86 tree :-) I think our choice is between changing /usr/libexec/cpp so that it behaves like the previous versions (i.e. we predefine things like __FreeBSD__) or changing StandardCppDefines in /usr/X11R6/lib/X11/config/FreeBSD.cf. Jean-Marc -- Jean-Marc Zucconi PGP Key: finger jmz@FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message