Subject: Re: X11 on V8 CPU
To: None <port-sparc@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-sparc
Date: 10/17/2002 00:32:43
On Wed, Oct 16, 2002 at 22:27:32 +0200, Martin Husemann wrote:

> > what is the recommended way to build X11 optimized for V8?
> 
> Dunno if this is recomended, but I hacked xfree/xc/config/cf/NetBSD.cf to
> 
> # define OptimizedCDebugFlags   -O2 -pipe -mcpu=v8 -mtune=supersparc

Better yet, write your own xc/config/cf/host.def.  E.g. (change to
suite your needs).

#ifdef BeforeVendorCF

/* Make server debuggable, optimize for v8 */
#define DefaultCCOptions	-pipe -mcpu=supersparc
/* Note: Changing ServerCDebugFlags has no effect because CDEBUGFLAGS is over-
   ridden by PassCDebugFlags in the parent Makefile or toplevel xmakefile. */
#define ServerCDebugFlags	-g -O
#define DefaultCDebugFlags	-g -O

#endif /* BeforeVendorCF */


#ifdef AfterVendorCF

#endif /* AfterVendorCF */


Where NetBSD.cf is the vendor config.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen