Date: Sun, 18 Feb 2018 07:33:51 +0100 From: =?utf-8?Q?Martin_Waschb=C3=BCsch?= <martin@waschbuesch.de> To: ports@FreeBSD.org Subject: Re: Cross-compiling a port Message-ID: <6032A805-17C9-4EBA-AF53-FA7045ADFC21@waschbuesch.de> In-Reply-To: <D1684490-4D9F-4BF4-97E3-98562ADECFBC@waschbuesch.de> References: <D1684490-4D9F-4BF4-97E3-98562ADECFBC@waschbuesch.de>
next in thread | previous in thread | raw e-mail | index | archive | help
>=20 > Am 18.02.2018 um 07:22 schrieb Martin Waschb=C3=BCsch = <martin@waschbuesch.de>: >=20 > Hi there, >=20 > how would I go about cross-compilinga port for another ARCH? > E.g. I am running 11.1-RELEASE on amd64 and would like to compile a = port for i386. > It does not seem to be enough to set the ARCH and TARGET_ARCH = environment variables: >=20 > e.g. something like >=20 > cd /usr/ports/archivers/zip > env 'TARGET_ARCH=3Di386 ARCH=3Di386' make should have been env TARGET_ARCH=3Di386 ARCH=3Di386 make anyway, same difference.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6032A805-17C9-4EBA-AF53-FA7045ADFC21>