tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc cross-compilation



   Date: Mon, 13 May 2013 20:23:34 +0000
   From: Taylor R Campbell <campbell+netbsd-tech-pkg%mumble.net@localhost>

   The patch is at

   https://www.NetBSD.org/~riastradh/tmp/cross-os-20130513.patch

   and use is pretty much as documented in doc/HOWTO-use-crosscompile,
   except that you specify MACHINE_PLATFORM rather than MACHINE_ARCH.

Oh, one addendum: you will need to bootstrap, because that patch
changes pkg_install, to replace the `-m MACHINE_ARCH' option by `-m
MACHINE_PLATFORM'.  (And when you do the cross-libtool-base step, the
package will be called cross-libtool-base-${MACHINE_PLATFORM} rather
than cross-libtool-base-${MACHINE_ARCH}, for example
cross-libtool-base-NetBSD-7.0-arm.)


Home | Main Index | Thread Index | Old Index