Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] mingw dll hell
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-02-27 (23:39)
From: Peter Jolly <peter@j...>
Subject: Re: [Caml-list] mingw dll hell
> One thing I seem to be noticing is that there are fewer errors if I
> do not link to libraries that depend on cygwin1.dll.

While I can't explain why it worked before, in general it's an extremely 
bad idea to mix MinGW and Cygwin in the same program.  If you're using 
gcc -mno-cygwin in the build process, you should not be linking to any 
Cygwin libraries at all.

As a simple test, run cygcheck on the generated executable.  If it lists 
both cygwin1.dll and MSVCRT*.DLL among the dependencies, you are almost 
certain to have problems.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: