On Fri, Nov 22, 2002 at 10:57:44AM -0500, John Baldwin wrote: > > On 22-Nov-2002 Ruslan Ermilov wrote: > > On Thu, Nov 21, 2002 at 02:31:19PM -0500, John Baldwin wrote: > >> > >> 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: <[EMAIL PROTECTED]> > >> >> > "Wilkinson,Alex" <[EMAIL PROTECTED]> writes: > >> >> > : Is FreeBSD likely to follow the in footsteps of NetBSD and create > >> >> > : 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 builds > >> >> > and build full releases that work in a cross build evironment. > >> >> > >> >> What do you mean by "incremental builds and full releases that work ..."? > >> > > >> > 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. > >> > >> 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=alpha > >> everything I would prefer that. > >> > > What would you prefer, I didn't quite understand? > > If I could: > > % cd /usr/src/usr.bin/foo_binary > % make TARGET_ARCH=alpha > > 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: > > % cd /usr/src > % make TARGET_ARCH=alpha buildenv > > 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. > See my other message in this thread <[EMAIL PROTECTED]> which includes the tinder.sh script that does exactly that.
Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
msg47212/pgp00000.pgp
Description: PGP signature