Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 15:34:14 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Murray Stokely <murray@FreeBSD.org>
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>
In-Reply-To: <200203140938.g2E9cO111102@freefall.freebsd.org>
References:  <200203140938.g2E9cO111102@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020314133414.GF97674>