Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 1999 01:34:56 +0100 (MET)
From:      Jean-Marc Zucconi <jmz@FreeBSD.ORG>
To:        green@FreeBSD.ORG
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/x11/XFree86 Makefile
Message-ID:  <199911240034.BAA79492@qix.jmz.org>
In-Reply-To: <Pine.BSF.4.10.9911231801170.26050-100000@green.dyndns.org> (message from Brian Fundakowski Feldman on Tue, 23 Nov 1999 18:05:15 -0500 (EST))
References:   <Pine.BSF.4.10.9911231801170.26050-100000@green.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> 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




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