Subject: Re: Change to sunos_exec.[ch]
To: Todd Vierling <tv@pobox.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 08/10/1998 00:31:52
On Sun, 9 Aug 1998 22:10:23 -0400 (EDT) 
 Todd Vierling <tv@pobox.com> wrote:

 > : Modified Files:
 > : 	src/sys/compat/sunos: sunos_exec.c sunos_exec.h
 > : Log Message:
 > : use __sparc__ not sparc
 > 
 > This breaks sparc compiles.  Huh?
 > 
 > At the very least, if we're going to depend on compiler flags which not all
 > NetBSD compilers yet support, we should have a construct such as:
 > 
 > #undef __sparc__
 > #define __sparc__ 1
 > 
 > in src/sys/arch/sparc/include/param.h.  (Perhaps even types.h.)  That way,
 > the source tree won't be broken pending a toolchain update.

Are you saying that the NetBSD/sparc compiler doesn't define __sparc__?!

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942