Subject: Re: CVS commit: xsrc/xfree/xc/config/cf
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Michael Lorenz <macallan@netbsd.org>
List: source-changes
Date: 12/19/2006 09:40:29
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 19, 2006, at 06:37, Izumi Tsutsui wrote:

> +#ifdef ArmArchitecture
>  # undef  DefaultCCOptions
>  # define DefaultCCOptions	-ansi -Dasm=__asm -fsigned-char \
> -					-fomit-frame-pointer
> -#endif /* armArchitecture */
> +					-fomit-frame-pointer -march=armv4 \
> +					-mtune=strongarm -D__arm__
> +#endif /* ArmArchitecture */
> ---
>
> Is these flags okay for acorn32 Xserver and acorn26 clients?

Oops, the -march/mtune flags should be in #ifdef sharkArchitecture. 
Definitely not ok for arm26.

>  /* NetBSD >= 1.5 has setusercontext() */
>  #if OSMajorVersion == 1 && OSMinorVersion >= 5 || OSMajorVersion > 1
> +#if !defined(sharkArchitecture)
>  #define HasSetUserContext       YES
>  #endif
> +#endif
> ---
>
> Is this really shark specific?

Shark needs it, not sure about the others.

> Anyway, you should also update Makefiles under src/x11.

I'm going to, as soon as I succeed in cross-compiling a working XFree86 
for shark.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRYf53cpnzkX8Yg2nAQK21Qf+LxKgzvw7wt40wV40eiXJs5KIC+Zdu/tA
XFCtSXiCuAhbO4DJj6/Qvduxu7cIaePKWt3DQ9Fs5zQDpnsu3wWtU8ylsEaO0Bfj
4Oqb3zlO4iHdaA+EEBzhotAJCjwYM/pxx1LJJuIt4xSdJZY2llIyyBCUh9d/ja7s
04UweQ346Zz8GR1k0naVmqpPENb7bLO2QI8v2imrjbeuh0K8g6rw0Vp26A9Ozg2d
rbxV1WGfeNq8Xf7e2SXUhuw1OoSfmjLNnEnncXR8v0UJUGg2VsU1dGLkxzX/VeaO
CJTxypiR90sjptOfjIJD3ki3ZC+ZqoG139fsKpmj1zLLEG/2OuoJgQ==
=2SN8
-----END PGP SIGNATURE-----