Re: [tcljava-dev] Building tclblend 1.4.0 under windows with mingw...
Brought to you by:
mdejong
From: Mo D. <mo...@mo...> - 2007-03-12 22:40:25
|
Georgios Petasis wrote: > Hi all, > > I tried to build tclblend 1.4.0 under windows with mingw, and there is > something I didn't > understand during the building process: how is tclblend linked with the > jvm.dll. > > I downloaded the sources, configured and build everything required (i.e. > following > http://wiki.tcl.tk/9993), abd the build went ok. However, I didn't > understood how > the library libjvm.dll.a (inside win directory) has been built. It is > included in the sources, but I couldn't > get it to work under ActiveTcl, untill I re-build it my self. > The libjvm.dll.a file is used when liking only in the case where the jvm.lib file that comes with the JDK fails to work. Some jvm.lib files from some vendors don't work with gcc, so the workaround is needed in those cases. But, once tclblend.dll is linked, this file is no longer needed. You will likely run into issues trying to run a tclblend.dll with the Active State binary as this is not a supported configuration. The tclblend.dll you build needs to be run with the Tcl release it was compiled against. I hope that helps Mo DeJong |