Date: Thu, 20 Jun 2013 08:49:03 +0200 From: Andre Albsmeier <Andre.Albsmeier@siemens.com> To: Chagin Dmitry <dchagin@freebsd.org> Cc: "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org> Subject: Re: FreeBSD-9, linux_base-f10: Compiling hello_world.c using the Linuxulator Message-ID: <20130620064903.GA9586@bali> In-Reply-To: <20130619182113.GA1361@dchagin.static.corbina.net> References: <20130619100233.GA2925@bali> <20130619182113.GA1361@dchagin.static.corbina.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19-Jun-2013 at 20:21:13 +0200, Chagin Dmitry wrote: > On Wed, Jun 19, 2013 at 12:02:33PM +0200, Andre Albsmeier wrote: > > I need to compile small linux binary ("hello world" like). > > I want to do this on one of my FreeBSD-9 machines, preferably > > using the linux emulation. The result should run on linux > > machines and under the linuxulator on FreeBSD-9. > > > > I am using linux_base-f10 as linux base but this doesn't include > > any development tools. Is there a quick How-To of what is needed > > to bring in the neccessary toolchain or is there even a port > > available? > > > > I checked the ports tree and Alexander's blogs but didn't find > > anything like that. Or do I just install the rpms? > > > > install emulators/linux_dist-gentoo-stage3 > chroot /usr/local/gentoo-stage3 /bin/bash Will try that, thanks! -Andre > > > -- > Have fun! > chd -- A Windows server can be run by an idiot, and usually is.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130620064903.GA9586>