Subject: Re: cross compiling for another NetBSD release
To: Marton Fabo <morton@eik.bme.hu>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 11/22/2004 23:03:51
--B8ONY/mu/bqBak9m
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Mon, Nov 22, 2004 at 10:57:40PM +0100, Marton Fabo wrote:
> >>to build a handful of packages on NetBSD-Y-i386, with the target of
> >>NetBSD-X-i386
> >
> >It's not really possible for packages....  at least not yet.
> >
> >Packages are built with the build-host's toolchain, source headers,
> >and libraries, and so they are always specific to the build host's
> >currently installed and running OS release.
>=20
> OK, I see. This may be nice having mentioned in the pkgsrc
> documentation.
>=20
> Anyway, is it a possible way to go to set up a NetBSD-X environment
> within a directory of the build machine, and use it with chroot to
> build? I guess in this case the only thing that would still be other
> (Y) version in the environment is the kernel.
>=20
> If this is possible, how should I start realizing it?

by installing pkgsrc/pkgtools/libkver and pkgsrc/pkgtools/pkg_comp
and doing the, oh, so impossible..


regards,

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--B8ONY/mu/bqBak9m
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBomJHiwjDDlS8cmMRAhnyAJ9Nz/vecES2m/VE4NIAZPi1fpbIwwCfRsmi
XLWmfz5IHI7D5/IAG0rRJq0=
=ykYR
-----END PGP SIGNATURE-----

--B8ONY/mu/bqBak9m--