Subject: Re: X11 on V8 CPU
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: David Brownlee <abs@netbsd.org>
List: port-sparc
Date: 10/21/2002 21:56:21
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 --