Date: Tue, 29 Mar 2005 12:32:05 +0100 From: Michael Hopkins <michael.hopkins@hopkins-research.com> To: "freebsd-amd64@freebsd.org" <freebsd-amd64@freebsd.org>, <freebsd-emulation@freebsd.org> Subject: Cross-compiling/porting to Linux Message-ID: <BE6EFB45.36AB4%michael.hopkins@hopkins-research.com>
next in thread | raw e-mail | index | archive | help
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' _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE6EFB45.36AB4%michael.hopkins>