Cross-compiling under FreeBSD for a Linux target

Steve O'Hara-Smith steve at sohara.org
Sat Oct 3 09:01:55 UTC 2015


On Mon, 28 Sep 2015 12:48:10 -0500
"J. Porter Clark" <jpc2112 at inbox.com> wrote:

> Is there a way, under FreeBSD, to compile a program so that it
> will run on a Linux target, specifically the same 32-bit Centos
> 6 that the emulators/linux-c6 port uses?

	The linux-c6-devtools port appears to contain the requisite tools
for the job - I've never tried it though. Failing that it is quite easy to
run Centos 6 userland in a jail.

-- 
Steve O'Hara-Smith <steve at sohara.org>


More information about the freebsd-questions mailing list