Subject: Re: X11R6 diffs for Sun3 port
To: None <mouse@Rodents.Montreal.QC.CA, tsutsui@shimada.nuee.nagoya-u.ac.jp>
From: Gordon W. Ross <gwr@mc.com>
List: port-sun3
Date: 02/16/1997 14:08:28
> Date: Sun, 16 Feb 1997 11:03:00 -0500 (EST)
> From: der Mouse <mouse@Rodents.Montreal.QC.CA>
>
> > |% diff config/cf/Imake.cf.original config/cf/Imake.cf
> > | 67a68,71
> > | > # if defined(__sun3__) || defined(sun3)
> > | > # define Sun3Architecture
> > | > # undef sun3
> > | > # endif
>
> > Is this really work?
>
> > I think imake (or gcc) does not pre-define `sun3' nor `__sun3__'.
>
> Hm. Perhaps I was running without Sun3Architecture defined; a simple
> test I did just now makes me think you're right about cc/gcc. About
> all I'm sure of is that with all the patches I did, it builds and works
> for me. :-)
I just used this in NetBSD.cf (and use BOOTSTRAPCFLAGS=-Dsun3)
#ifdef Sun3Architecture
/* Note: -ansi turns off -Dmc68000 */
#define ServerOSDefines -DDDXOSINIT
#define ServerExtraDefines GccGasOption -Dmc68000
#define BootstrapCFlags -Dsun3
#endif