[Mono-devel-list] cygmono-1.dll and cygMonoPosixHelper.dll

Francisco T. Martinez martinf at mfconsulting.com
Sat Jun 18 11:22:21 EDT 2005

Zoltan Varga wrote:

>            Hi,
>  No idea. They are probably simply renamed.
>         Zoltan
>On 6/17/05, Kornél Pál <kornelpal at hotmail.com> wrote:
>>> Its an artifact of using libtool for creating the dlls. libtool
>>>thinks we want to
>>>start all our dlls with 'cyg' and can't be convinced otherwise.
>>>             Zoltan
>>And how are the dlls built for the installer that they don't start with
Zoltan is correct .  The way I go about preparing the Mono build for 
Windows is that as soon as ./autogen.sh finishes (or ./configure) I edit 
the resulting libtool file with the vi text editor by doing this search:


I then remove "cyg" for all three occurrences and then proceed with the 
make and subsequent make install.

Our build system for Win32 already does "gcc -nno-cygwin".  This 
produces dlls that are no longer dependent of cygwin.dll.  However, it 
took me a lot of lonely trial and error to see where and when to edit 
that file to produce the correct binaries. 

Simply renaming files that are prefixed with cygxxx.dll would not do, as 
other files would still make internal references to the cyg prefixed names.

Hope this helps :)


More information about the Mono-devel-list mailing list