Subject: Re: X11 on V8 CPU
To: David Brownlee <abs@netbsd.org>
From: Greywolf <greywolf@starwolf.com>
List: port-sparc
Date: 10/21/2002 13:04:09
This is why you share MOST of the source tree and start looking for
innovative ways to make the host.def file local to each box.

    cp xc/config/cf/host.def /etc/X11/host.def;
    ln -s !$ !^


I'd think of more but my brain's dead.

On Mon, 21 Oct 2002, David Brownlee wrote:

# Date: Mon, 21 Oct 2002 21:56:21 +0100 (BST)
# From: David Brownlee <abs@netbsd.org>
# To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
# Cc: port-sparc@netbsd.org
# Subject: Re: X11 on V8 CPU
#
# 	Is there no way to set DefaultCCOptions or similar in the
# 	environment for an xsrc build - or to set it based on
# 	an environment variable or script output in the host.def?
#
# 	Having to hardcode it in host.def makes it a real pain to
# 	share the source tree between different machines :(
#
# On Thu, 17 Oct 2002, Valeriy E. Ushakov wrote:
#
# > 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
# >
#
# --
# 		David/absolute          -- www.netbsd.org: No hype required --
#
#


				--*greywolf;
--
NetBSD:  Don't login as root, use the su command.