Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 2015 09:47:41 +0100
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Cross-compiling under FreeBSD for a Linux target
Message-ID:  <20151003094741.2b33814f3a9c08854915e24f@sohara.org>
In-Reply-To: <20150928174810.GA42238@MacPorter.local>
References:  <20150928174810.GA42238@MacPorter.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Sep 2015 12:48:10 -0500
"J. Porter Clark" <jpc2112@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@sohara.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151003094741.2b33814f3a9c08854915e24f>