Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 18:08:00 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: Cross-Development with NetBSD
Message-ID:  <20021122160800.GA47576@sunbay.com>
In-Reply-To: <XFMail.20021122105744.jhb@FreeBSD.org>
References:  <20021122114100.GC11000@sunbay.com> <XFMail.20021122105744.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 22, 2002 at 10:57:44AM -0500, John Baldwin wrote:
>=20
> On 22-Nov-2002 Ruslan Ermilov wrote:
> > On Thu, Nov 21, 2002 at 02:31:19PM -0500, John Baldwin wrote:
> >>=20
> >> On 21-Nov-2002 Terry Lambert wrote:
> >> > Ruslan Ermilov wrote:
> >> >> On Thu, Nov 21, 2002 at 12:10:14AM -0700, M. Warner Losh wrote:
> >> >> > In message: <20021121151714.U961-100000@squirm.dsto.defence.gov.a=
u>
> >> >> >             "Wilkinson,Alex" <Alex.Wilkinson@dsto.defence.gov.au>=
 writes:
> >> >> > : Is FreeBSD likely to follow the in footsteps of NetBSD and crea=
te
> >> >> > : a framework to do crossbuilds ?
> >> >> > :
> >> >> > : http://ezine.daemonnews.org/200211/xdevnetbsd.html
> >> >> >
> >> >> > FreeBSD already has cross builds for a while, since before NetBSD=
's
> >> >> > cross build infrastructure.  However, NetBSD's infrastructure is a
> >> >> > little more extensive because it is possible to do incremental bu=
ilds
> >> >> > and build full releases that work in a cross build evironment.
> >> >>
> >> >> What do you mean by "incremental builds and full releases that work=
 ..."?
> >> >=20
> >> > You know, like changing one line in /usr/src/lib/libstand on
> >> > a source tree on a x86 box, typing "make release", and having
> >> > only the things that need to be rebuilt being rebuilt, resulting
> >> > in a working FreeBSD-Alpha or FreeBSD-SPARC64 release CDROM image.
> >>=20
> >> Make release is a very poor example b/c make release goes to great
> >> efforts to create a clean-room environment for a release.  make
> >> rerelease is quite helpful though and does do what you want to
> >> restart a previous release. :)  Also, make buildworld -DNOCLEAN
> >> isn't too shabby, though if I could do make TARGET_ARCH=3Dalpha
> >> everything I would prefer that.
> >>=20
> > What would you prefer, I didn't quite understand?
>=20
> If I could:
>=20
> % cd /usr/src/usr.bin/foo_binary
> % make TARGET_ARCH=3Dalpha
>=20
> and end up with an alpha foo binary.  Granted, I might have to
> do some extra steps to setup the build environment, and that
> would be fine.  Would be nice if I could do:
>=20
> % cd /usr/src
> % make TARGET_ARCH=3Dalpha buildenv
>=20
> or some such.  However, I think that might involve a good bit of
> work to get right and the gains might not be worth the expense.
>=20
See my other message in this thread <20021122113810.GA11000@sunbay.com>
which includes the tinder.sh script that does exactly that.


Cheers,
--=20
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

--rwEMma7ioTxnRzrJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE93lZgUkv4P6juNwoRAkPAAJoCZpM5pyPKoaVUUdl0okj2Tf+LhwCaAyQI
JTqpDfbLSMM1rIz5kh0PeRw=
=Arx7
-----END PGP SIGNATURE-----

--rwEMma7ioTxnRzrJ--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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