Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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 caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners