Cross-compiling a port
martin at waschbuesch.de
Sun Feb 18 06:33:55 UTC 2018
> Am 18.02.2018 um 07:22 schrieb Martin Waschbüsch <martin at waschbuesch.de>:
> Hi there,
> 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:
> e.g. something like
> cd /usr/ports/archivers/zip
> env 'TARGET_ARCH=i386 ARCH=i386' make
should have been
env TARGET_ARCH=i386 ARCH=i386 make
anyway, same difference.
More information about the freebsd-ports