Subject: Re: Building pkgsrc for alternative arch or OS rev?
To: Eric Haszlakiewicz <erh@jodi.nimenees.com>
From: Daniel Carosone <dan@geek.com.au>
List: current-users
Date: 01/25/2005 09:12:18
--Mjqg7Yu+0hL22rav
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Jan 24, 2005 at 03:50:45PM -0600, Eric Haszlakiewicz wrote:
> as for building for an alternate arch, you can probably leverage the
> crossbuilding tools from /usr/src, but I don't know what you'd need to
> do to get pkgsrc to use those.

You can set "PKGSRC_COMPILER=distcc gcc" (or whatever, as appropriate)
on the slower machine, and configure your distcc environment to point
to a suitable cross-compiler on a faster distcc server.

All the header evaluation/preprocessing, and linking, will be done on
the native machine, and the object code will be produced by the
cross-compiler on the faster machine.

At present, there are limitations around trying to use a large pool of
distcc hosts to make compiles go faster, but this usage can be very
beneficial with a single server.

--
Dan.

--Mjqg7Yu+0hL22rav
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iD8DBQFB9XLCEAVxvV4N66cRAp+zAJ4z5br8HK26B62E0DZc2YXeMFg58ACfVCqh
Bq5wooBTQHvpvCW5ePJSbsY=
=ZNb4
-----END PGP SIGNATURE-----

--Mjqg7Yu+0hL22rav--