From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 29 11:32:08 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FCC316A4CE; Tue, 29 Mar 2005 11:32:08 +0000 (GMT) Received: from neon.webfusion.co.uk (neon.webfusion.co.uk [212.67.202.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7330D43D58; Tue, 29 Mar 2005 11:32:07 +0000 (GMT) (envelope-from michael.hopkins@hopkins-research.com) Received: from 83-216-132-201.markch725.adsl.metronet.co.uk ([83.216.132.201] helo=[192.168.0.5]) by neon.webfusion.co.uk with asmtp (Exim 3.36 #1) id 1DGEx3-0007Vm-00; Tue, 29 Mar 2005 12:32:05 +0100 User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Tue, 29 Mar 2005 12:32:05 +0100 From: Michael Hopkins To: "freebsd-amd64@freebsd.org" , Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Cross-compiling/porting to Linux X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 11:32:08 -0000 Hi all I have just installed mingwin32 from the ports and it works beautifully - can now port all my Unix command line code (including linking to win32 libraries) to win32 with the flick of a make switch. Marvellous! Now to linux... I haven't tried any of the linux compatibility stuff yet, either for running binaries or cross-compiling. I thought I would ask here first because I have seen quite a few messages suggesting potential issues on amd64. At the moment I am mainly interested in cross-compiling and wanting to target 32-bit linux, but obviously 64-bit will be useful in the future. Would like to get some advice on what to install and any kernel configuration or module loading that I might need to do. On a related topic - I can see that there are ports for converting binaries between different formats (e.g. ELF to a.out). As there is already a runtime compatibility established, how easy would it be to build something that reads in a FreeBSD binary or library and outputs a linux one? Just a thought. TIA Michael _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ _/ _/_/_/ Hopkins Research Ltd _/ _/ _/ _/ _/_/_/_/ _/_/_/ http://www.hopkins-research.com/ _/ _/ _/ _/ _/ _/ _/ _/ 'touch the future' _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/