Luc MOULINIER <moumou@xxxxxxxx> writes: > To be a bit more precise. > I'm building an extension for the Tcl language. Extensions are in fact dynmaic libraries.which are loaded in the Tcl language when required. So when loading my .dll lib created as I mentioned, I got the message : > couldn't load library "o:/ordali/lib/tclcluspack > 0.1/tclcluspack0.1.dll": this library or a depen > dent library could not be found in library path > while executing > "load o:/ordali/lib/tclcluspack0.1/tclcluspack0. > 1.dll tclcluspack" > > The dll is present, and at the right place. Thus, loading it directly in the interpreter results in the same error. > A point to mention is that the size of the dll seeems to be correct, as the sum of the libRmath.a + objects. I don't know what the problem is here, but it does not sound like a problem with gcc. You may get more help if you ask on the mingw mailing list. Ian