[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] elf on windows



On May 31, 2011, at 9:43 AM, alaxa@xxxxxxxxx wrote:
> but I get the Shadow Exception so I suspect It cannot run any elf code, am I 
> right?

You got it.  Windows cannot run Linux ELF executables -- at least not directly.

Virtualization is one option.  It ensures a nearly-perfect run-time environment at the cost of the hypervisor emulation layer overhead and dedicated RAM and disk resources.  This usually is the simplest configuration up front, particularly when something like POVB is used to deploy virtual machines.

An alternative is Cooperative Linux (coLinux).  coLinux is a Linux kernel compiled to run as a native Windows application, and native Linux code runs within this process.  It is more work to do the initial coLinux environment configuration, but it is much lighter than full virtualization.

Cygwin and MinGW have been discussed previously.  Additionally, both Cygwin and MinGW have cross-compiler environments so you could build Win32 executables on the same systems that you currently use to build Linux ELF executables.

-- 
Rich Pieri <ratinox@xxxxxxx>
MIT Laboratory for Nuclear Science
24-030a / (617) 452-4081