From owner-cvs-all Thu Mar 14 5:34:41 2002 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 79B5237B405; Thu, 14 Mar 2002 05:34:20 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g2EDYEK17947; Thu, 14 Mar 2002 15:34:14 +0200 (EET) (envelope-from ru) Date: Thu, 14 Mar 2002 15:34:14 +0200 From: Ruslan Ermilov To: Murray Stokely Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man7 build.7 Message-ID: <20020314133414.GF97674@sunbay.com> References: <200203140938.g2E9cO111102@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200203140938.g2E9cO111102@freefall.freebsd.org> User-Agent: Mutt/1.3.27i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Mar 14, 2002 at 01:38:24AM -0800, Murray Stokely wrote: > murray 2002/03/14 01:38:24 PST > > Modified files: > share/man/man7 build.7 > Log: > Add an ENVIRONMENT section, and document TARGET_ARCH and NO_WERROR. > Add a cross-build example. > > Revision Changes Path > 1.16 +16 -0 src/share/man/man7/build.7 > In certain cases, specifying TARGET_ARCH may be not enough and you have to specify TARGET as well. For example, to build pc98 on alpha, you need to "make buildworld TARGET_ARCH=i386 TARGET=pc98". TARGET_ARCH is analogous to the ``uname -p'' output, and TARGET is analogous to the ``uname -m'' output. Also, -DNO_WERROR=1 in the example sets the "NO_WERROR=1" variable to "1", not the intended NO_WERROR (-DNO_WERROR). But it's not actually necessary to specify NO_WERROR to cross-build alpha world on i386, it builds just fine without it. Cheers, -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message