From owner-freebsd-hackers Tue Nov 7 10:39:46 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA28891 for hackers-outgoing; Tue, 7 Nov 1995 10:39:46 -0800 Received: from vanuata.dcs.gla.ac.uk (vanuata.dcs.gla.ac.uk [130.209.240.50]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA28882 for ; Tue, 7 Nov 1995 10:38:39 -0800 Message-Id: <199511071838.KAA28882@freefall.freebsd.org> Received: from savage-gw.dcs.gla.ac.uk by vanuata.dcs.gla.ac.uk with LOCAL SMTP (PP); Tue, 7 Nov 1995 15:51:52 +0000 To: Warner Losh cc: freebsd-hackers@freebsd.org Subject: Re: Compiling Linux Binaries under FreeBSD In-reply-to: Your message of "Tue, 07 Nov 1995 08:20:17 MST." <199511071520.IAA03718@rover.village.org> Date: Tue, 07 Nov 1995 15:50:42 +0000 From: Simon Marlow Sender: owner-hackers@freebsd.org Precedence: bulk > : Ok, so now that we have Linux emulation, what is that chance of my > : being able to set up a Linux compilation environment under FreeBSD? > > Are you asking if you can build a compiler that runs native on freebsd > that will produce linux binaries (in which case it is a simple matter > of configure options). > > If you are asking for running gcc from linux on freebsd to produce > linux binaries, then it should work via the same mapping mechanisms > that make shared libraries work. Sorry, I should have said: it's the latter, because I'm lazy and can't be bothered building a cross-compilation environment when I could just run the Linux versions of these tools directly :-) Cheers, Simon -- Simon Marlow simonm@dcs.gla.ac.uk Research Assistant http://www.dcs.gla.ac.uk/~simonm/ finger for PGP public key