Subject: Re: where are MACHINE_ARCH and LOWER_ARCH defined?
To: Jeremy C. Reed <>
From: Julio Merino <>
List: tech-pkg
Date: 01/11/2003 18:40:57
On Sat, 11 Jan 2003 08:44:35 -0800 (PST)
"Jeremy C. Reed" <> wrote:

> Where are MACHINE_ARCH and LOWER_ARCH defined?

AFAIK, they are defined when building bmake, and embedded inside it.

> Anyways, my problem is my MACHINE_ARCH is i686, but some Makefiles only
> check for i386.

I think that the easiest way is to check for that once, and could be done
in two places:

- When auto-configuring bmake, see if it's [456]86 and, if that's the case,
  force MACHINE to be 386 (forgetting those details).
- In, check if it's [456]86 and replace its value with 386.

Julio M. Merino Vidal <>
The NetBSD Project -