From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 20 06:49:11 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8A091B12; Thu, 20 Jun 2013 06:49:11 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by mx1.freebsd.org (Postfix) with ESMTP id 050841D44; Thu, 20 Jun 2013 06:49:10 +0000 (UTC) Received: from mail1.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.13.6/8.13.6) with ESMTP id r5K6n3Je027219; Thu, 20 Jun 2013 08:49:03 +0200 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail1.siemens.de (8.13.6/8.13.6) with ESMTP id r5K6n3RZ007463; Thu, 20 Jun 2013 08:49:03 +0200 Received: (from localhost) by curry.mchp.siemens.de (8.14.7/8.14.7) id r5K6n3WT010648; Date: Thu, 20 Jun 2013 08:49:03 +0200 From: Andre Albsmeier To: Chagin Dmitry Subject: Re: FreeBSD-9, linux_base-f10: Compiling hello_world.c using the Linuxulator Message-ID: <20130620064903.GA9586@bali> References: <20130619100233.GA2925@bali> <20130619182113.GA1361@dchagin.static.corbina.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130619182113.GA1361@dchagin.static.corbina.net> X-Echelon: X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-emulation@freebsd.org" X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jun 2013 06:49:11 -0000 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.