Subject: Re: where are MACHINE_ARCH and LOWER_ARCH defined?
To: Jeremy C. Reed <email@example.com>
From: Julio Merino <firstname.lastname@example.org>
Date: 01/11/2003 18:40:57
On Sat, 11 Jan 2003 08:44:35 -0800 (PST)
"Jeremy C. Reed" <email@example.com> 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 86 and, if that's the case,
force MACHINE to be 386 (forgetting those details).
- In bsd.pkg.mk, check if it's 86 and replace its value with 386.
Julio M. Merino Vidal <firstname.lastname@example.org>
The NetBSD Project - http://www.NetBSD.org/