Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2015 23:15:54 +0000
From:      Johannes Totz <johannes@jo-t.de>
To:        freebsd-ports@freebsd.org
Subject:   Pseudo-cross compiling
Message-ID:  <n4i9ra$be0$1@ger.gmane.org>

next in thread | raw e-mail | index | archive | help
Hi there,

I'm trying to cross-compile ports from an AMD cpu to an Intel one. All
amd64. There's -march and -mtune involved.
Goal is to produce a ready-to-use VM image, with everything/packages/etc
installed.

The base system was simple.
However, all my attempts with ports have failed so far. Ports will
usually try to run some of their build output, which then fails with
illegal instruction.
Or dependencies are looked up in strange ways, say in LOCALBASE (which
has the AMD/generic variant), but then skips building the Intel binary.

Is this type of cross-compiling supported at all? I know there's a way
to compile for ARM, through QEMU emulation.


Thanks,

Johannes

-- 
Sent from my <insert random gadget here>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n4i9ra$be0$1>