Re: windows .dll files and linux



On 22 Mar 2007 10:03:33 -0700, Lew Pitcher <lpitcher@xxxxxxxxxxxx> wrote:
I'd suggest that you take a look at Wine (http://www.winehq.org/) to
see how they do it. You might be able to scarf a piece of code that
will mate your Linux ELF executable with your Windows COFF DLLs.

Incidentally this has already been done in media players so that you
can use, on x86, binary Windows codecs for media playback. You may
find useful code in xine, and mplayer, and the gstreamer-pitfdll
plugin. (AFAIK these are all under GPL, though, and if you take code,
rather than ideas, as such and distribute it along with the closed
libraries, it would probably be a breach of the license. In-house use
shouldn't be affected. Wine itself is LGPL, which may be a bit more
lax here, though I shan't speculate further in this case.)

--
Mikko Rauhala - mjr@xxxxxx - <URL: http://www.iki.fi/mjr/ >
Transhumanist - WTA member - <URL: http://transhumanism.org/ >
Singularitarian - SIAI supporter - <URL: http://singinst.org/ >
.