From: Holger V. <hol...@un...> - 2008-09-27 17:37:38
|
Lionel, for now I have given up making tclspice.dll with mingw. A specialist of autotools and libtool would be required to provide a proper setup for compilation and linking. Instead I have generated tclspice.dll with MC VC++ 2008. The dll is exporting a single function Spice_init. Only small changes to the actual CVS source code are required, which I would check in if the dll is working properly. However, due to my total lack of know-how with tcl-tk I would like to get some advice how to start ngspice using tclspice.dll. Just using $ wish84 % package require spice will result in the error message "can't fnd package spice". I guess that firstly I have to create such a package. Please give some advice. Regards Holger SAINTE CLUQUE Lionel schrieb: > Hi holger, > > First I would like to thank you, because at that time I'm 100% loaded by > work (and I start to be late). Then I can not progress on tclspice. So I > greatly appreciate your help on that topic. tclspice for windows is in > my hot-tasks list. > > Do you succeed in building a dll? > > Are you sure xspice will be able to link with the dll? I don't know the > topic well, but in a dll all dependencies have to be resolved at link > time. A dll can not load dynamic objects (as far as I undestand). For > the moment if I use the -z,defs link option xspice fails. > > thanks > > |