Re: [ng-spice-devel] Dynamic library support (fully working)
Here's my patch for dynamic library support - it is against
ngspice-rework-3 ( it(s totally indepandant from Arno's patches)
I compile bsim1,bsim2 and bsim2 as shared libraries. You don't
need to do 'make install' for complilation to succeed. Shared libs
are installed by default in /usr/local/lib/ngspice-rework
Only very large models should be compiled a shred libraries, since
a shared librarie is always a bit bigger than a static library.
The next step would be to use the 'dlopen' mechanism to load shared libs
at request only (but this has to be done in the code itself I believe,so
I suggest leaving it for our GPL'd simulator)
manu
patch.manu.bz2
Partial thread listing:
- Re: [ng-spice-devel] Dynamic library support (fully working), (continued)