Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2005 16:29:16 -0700 (MST)
From:      Warner Losh <imp@bsdimp.com>
To:        alexjeffburke@gmail.com
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Cross compiling
Message-ID:  <20050215.162916.74693467.imp@bsdimp.com>
In-Reply-To: <a8b8bb510502151328739a9e5d@mail.gmail.com>
References:  <a8b8bb510502151328739a9e5d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I was just wondering whether it is posibl to build say a 4.11 kernel
> on a 5.3 system - I'd like to have only one machine here on which I
> maintain all the sources and buidl what i need, then I think you can
> mount the /usr/obj file system and /usr/src and run the install stages
> on other systems.

Yes.  I do this all the time.  I never build in /usr/src or /usr/obj
:-).

One has to make sure that one has the right config to generate the
compile tree with.  I believe that the compilers are still compatable
enough to allow this to happen.

Building world can be done, but may require some hand steps. It has
been a while since I've done this.

> Also, can I build kernels for different architectures on a normal i386 box?

Yes.  See the recent cross compilation thread in freebsd-arch for
details.

Warner



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