From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 19 10:02:41 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 7932F4AA for ; Wed, 19 Jun 2013 10:02:41 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.freebsd.org (Postfix) with ESMTP id EE54116E3 for ; Wed, 19 Jun 2013 10:02:40 +0000 (UTC) Received: from mail3.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.13.6/8.13.6) with ESMTP id r5JA2Yhc008343 for ; Wed, 19 Jun 2013 12:02:34 +0200 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail3.siemens.de (8.13.6/8.13.6) with ESMTP id r5JA2YDb019188 for ; Wed, 19 Jun 2013 12:02:34 +0200 Received: (from localhost) by curry.mchp.siemens.de (8.14.7/8.14.7) id r5JA2YVX007231 for freebsd-emulation@freebsd.org; Wed, 19 Jun 2013 12:02:34 +0200 (CEST) Date: Wed, 19 Jun 2013 12:02:33 +0200 From: Andre Albsmeier To: freebsd-emulation@freebsd.org Subject: FreeBSD-9, linux_base-f10: Compiling hello_world.c using the Linuxulator Message-ID: <20130619100233.GA2925@bali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Echelon: X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.21 (2010-09-15) 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 10:02:41 -0000 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? Thanks, -Andre