creating a dll using a static library
Ian Lance Taylor
iant@google.com
Fri Mar 18 18:09:00 GMT 2011
Luc MOULINIER <moumou@igbmc.fr> 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
More information about the Gcc-help
mailing list