From: Christopher F. <cg...@re...> - 2002-01-17 00:28:28
|
On Wed, Jan 16, 2002 at 04:07:21PM -0800, Paul Garceau wrote: > > >----- Original Message ----- >From: Jos? Fonseca <j_r...@ya...> >Date: Wednesday, January 16, 2002 2:48 pm >Subject: Re: [Mingw-users] Help to transfer programs of cygwin > >> On 2002.01.16 19:52 Jianguo Wang wrote: >> > Guys, >> > >> > I ahve a program which is complied well under cygwin. And it >> seems the >> > executable file is using some cygwin dll. How can I make the program >> > compilable under GNU mingw32? And also executed without the need of >> > cygwin >> > dll? >> > >> > Your help is highly appreciated. >> > >> > Jianguo Wang >> > ----------------------------- >> > Senior Developer >> > International Biometric Group >> > >> >> That really depends on how much of the POSIX functionallity >> provided by >> Cygwin your program uses and what unix tools (besides the compiler >> and >> make) are necessary to build it. In the best case a simple 'make' >> could do >> it. In the worst case you'll have to gather some extra stuff to be >> able to >> do it. >> >> Take a look at >> http://mefriss1.swan.ac.uk/~jfonseca/gnu- >> win32/documentation/porting/ for >> some more insight in this problem. >> >> After you build your program the cygwin dll dependency will be >> dropped >> since MinGW programs depend on msvcrt.dll. > > You might also consider using MSYS. It is already set up with Posix >dependencies intact, and is, in essence a Mingw development environment >which eliminates any and all dependencies on cygwin.dll while >maintaining and supporting Unix-like shells. > > As Jose has noted, Mingw has no dependencies on cygwin.dll. MSYS is >Mingw with shell capabilith (hence posix dependencies intact). MSYS is >in beta testing and is available in binary form from the Mingw download >page (http://sourceforge.net/project/showfiles.php?group_id=2435). The last I heard, msys was a modified cygwin DLL. So, wouldn't he be trading reliance on the cygwin1.dll with reliance on the msys.dll? cgf |