From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 19 18:21:21 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 724E8815 for ; Wed, 19 Jun 2013 18:21:21 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) by mx1.freebsd.org (Postfix) with ESMTP id E3CB716FB for ; Wed, 19 Jun 2013 18:21:20 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id fe20so4906486lab.34 for ; Wed, 19 Jun 2013 11:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=CNNJ0Vy9+m2LWtlMC3r9v2C1pehAnwjxVq+g0Ew0v9s=; b=ByFhldw134IO6ds9GdOvaFykN9yt/AateroJ3xAMC9j/Nq2rLIF7nuZ1JqSO/Re4RF epnySBoSfqXIDvEf1N75Dxw10LIPxEj1d7BTYJ0MVgKX0hR5NmOK7cdiSrSkDyg34cqi tcBZpT4dRgBnbl+XjFpIub7G0Q5Vb6I1S2dQUO4DFDfpTGUpJlJhndHdWH71gnShUYvU OIHWoaeg//vuJc0tsUGrkhc2rKwxhMQL2n4S25d6z3IPTY5qU6v1RoCdV8mOGBcjwGZy /vbE8L4EMksq16iFL0Lox4INSq3cIndQmdtzMEJ08inPid305b8RgZvdR7G7Y8e7fbfy U4lg== X-Received: by 10.152.87.43 with SMTP id u11mr1863737laz.71.1371666078716; Wed, 19 Jun 2013 11:21:18 -0700 (PDT) Received: from dchagin.static.corbina.net (dchagin.static.corbina.ru. [78.107.232.239]) by mx.google.com with ESMTPSA id uo8sm9337431lbb.5.2013.06.19.11.21.17 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Jun 2013 11:21:17 -0700 (PDT) Sender: Dmitry Chagin Received: from dchagin.static.corbina.net (localhost [127.0.0.1]) by dchagin.static.corbina.net (8.14.7/8.14.6) with ESMTP id r5JILEmb001377; Wed, 19 Jun 2013 22:21:14 +0400 (MSK) (envelope-from dchagin@dchagin.static.corbina.net) Received: (from dchagin@localhost) by dchagin.static.corbina.net (8.14.7/8.14.6/Submit) id r5JILD1X001376; Wed, 19 Jun 2013 22:21:13 +0400 (MSK) (envelope-from dchagin) Date: Wed, 19 Jun 2013 22:21:13 +0400 From: Chagin Dmitry To: Andre Albsmeier Subject: Re: FreeBSD-9, linux_base-f10: Compiling hello_world.c using the Linuxulator Message-ID: <20130619182113.GA1361@dchagin.static.corbina.net> References: <20130619100233.GA2925@bali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <20130619100233.GA2925@bali> 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: Wed, 19 Jun 2013 18:21:21 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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? >=20 > I checked the ports tree and Alexander's blogs but didn't find > anything like that. Or do I just install the rpms? >=20 install emulators/linux_dist-gentoo-stage3 chroot /usr/local/gentoo-stage3 /bin/bash --=20 Have fun! chd --AhhlLboLdkugWU4S Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlHB9pkACgkQ0t2Tb3OO/O1rbwCgvKRIAe8UiCOlS46PKksitLMr ZqcAn3ln1KmtsT517e1/0nY18rr+yY8L =kjJY -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--