Subject: Re: where are MACHINE_ARCH and LOWER_ARCH defined?
To: Jeremy C. Reed <firstname.lastname@example.org>
From: Julio Merino <email@example.com>
Date: 01/11/2003 18:40:57
On Sat, 11 Jan 2003 08:44:35 -0800 (PST)
"Jeremy C. Reed" <firstname.lastname@example.org> 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 <email@example.com>
The NetBSD Project - http://www.NetBSD.org/