Subject: Re: ONLY_FOR_ARCH in pkg's
To: Tim Rightnour <root@garbled.net>
From: Simon Burge <simonb@telstra.com.au>
List: tech-userlevel
Date: 06/21/1998 01:06:57
On Sat, 20 Jun 1998 04:02:36 -0700 (MST)  Tim Rightnour wrote:

> I've been fiddling around with some pkgs lately, and was thinking about using
> the ONLY_FOR_ARCH define on them.. Unfortunately, this requires two things:
> 
> #1: To have a list of arches that netbsd runs on
> #2: To know that list won't change tomorrow.
> 
> The problem being, if you have something that works on everything *except*
> alpha, or *except* alpha and mips.. then you run into a mess of:
> i386 hp300 mvme68k blah blah blah.
> 
> And then when something like next68k comes along, blam, it breaks on that
> because it wasn't listed.
> 
> What I think we really need, is a NOT_FOR_ARCH define, so I can go and say:
> NOT_FOR_ARCH=   alpha mips

Good idea!  ONLY_FOR_TOOLCHAIN and NOT_FOR_TOOLCHAIN also come to mind.
At the moment, some of the problems seem to be elf/aout related, rather
than architecture specific.

Simon.