Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: terry AT logicalvision DOT com X-Lotus-FromDomain: CORECO_NOTES To: Mumit Khan cc: gnu-win32 AT cygnus DOT com Message-ID: <8825675A.00685DD0.00@srv_web.coreco.com> Date: Wed, 21 Apr 1999 12:04:27 -0700 Subject: Re: Using Microsoft DLL's in GNU C Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Let me explain further...:) I have taken the cygnus-b21 distribution and built a cross-compiler to target an i386-Linux platform so I can build applications on Windows 9x/NT that run on my Linux box. Now I would really love to use a certain MMX-based DLL from Intel (which source code is not provided) and run it on my Linux box. I know that Linux executables are ELF-32 format whereas Windows DLLs are quite a different beast. What I was hoping to hear was some clever person out there figured out how to load a Windows DLL to access the DLL functions. Although the two executables (a Linux program and DLL) are different, the underlying code is still native to i386. Terry Mumit Khan on 04/21/99 11:53:24 AM To: Terry Arden/Coreco Inc. cc: gnu-win32 AT cygnus DOT com Subject: Re: Using Microsoft DLL's in GNU C On Tue, 20 Apr 1999 terry AT logicalvision DOT com wrote: > I would like to call functions from a Microsoft DLL in GNU C. In > particular, I have cross-compiled a version of GNU C > for a i386-Linux target (ELF32 executables) and would like to call > Microsoft DLL functions from this environment. Has > anyone tried this? Hopefully I simply don't understand what you're trying to do; if I do understand it, then it doesn't make any sense since Linux and Windows32 are two different OSs that you can't just mix and match binary code. You may want to look at the Wine project (http://www.winehq.com/) where such issues are dealt with in gory detail. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com