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

Raja R Harinath rharinath at novell.com
Mon Jun 20 06:19:35 EDT 2005


Hi,

Kornél Pál <kornelpal at hotmail.com> writes:

>>That's because of Mono's misuse of autoconf.  IIRC, The GNU build system
>>already has a way to express that we don't want to link against
>>cywin.dll: that's to cross-compile to mingw.
>>
>>I can't fix it since I don't have the knowledge to fix it, nor the
>>patience to gain the knowledge on Windows.
>
> But please belive me Mono is not using cygwin1.dll and the compiled binaries
> (that can be compiled using Cygwin or installed using the installer
> available on Mono downloads page) are not dependent on Cygwin or any other
> runtime environments.
[snip]

Hmm...  I do know that.

Looks like I haven't made myself clear -- most probably since I assumed
a lot of context.

Anyway, I'm suggesting that you try running

  ./configure --host=i586-pc-mingw

inside cygwin.  Mono's configure.in already passes -mno-cygwin to gcc.
The configure command above informs the rest of the GNU build
environment about this: thus hopefully making libtool _not_ use the
'cyg' prefix.

However, this is totally untested, and may break.  My point being: this
is the way you should try to solve the problem mentioned in the subject.
If this doesn't work, it's a bug, and should be fixed.  (I can't fix it,
for the reasons above.)

To repeat, any patches to address the 'cyg' prefix issue should make the
above scenario work.  Putting on my "part-time makefile maintainer" hat,
I'm likely to strongly object to any other approach.  I am open to being
educated otherwise, of course, since I know that I don't know much about
this subject.

- Hari



More information about the Mono-devel-list mailing list