From: SAINTE C. L. <lio...@gm...> - 2008-09-13 17:09:10
|
Try to respect the following paragraph of the autobook: (§25.4.3) > libtool provides a macro, ‘AC_LIBTOOL_WIN32_DLL’, which must be added to a package’s ‘configure.in’ to communicate to the libtool machinery that the package supports dlls. Without this macro, libtool will never try to build a dll on Windows. Add this macro to ‘configure.in’ before the ‘AM_PROG_LIBTOOL’ macro, and try again In src/Makefile.am please add -no-undefined flag to libspice LDFLAGS. This flag, necessary for a dll, will fail with xspice for the moment. Please use the configure flag --disable-xspice too. Then you should be able to make the dll. If you are successfull, Youhou! On sam, 2008-09-13 at 12:33 +0200, Holger Vogt wrote: > Hi all, > > with an update to my mingw installation and some tiny changes to > configure.in and tclspice.c I am now able to compile ngspice using > ./configure --with-windows --enable-maintainer-mode --enable-xspice > --enable-cider --disable-debug --with-tcl > make > make install > > A huge library libspice.a is created at C:\Spice\lib. The install > procedure then fails with > > /bin/sh /d/Spice_General/ng-spice-rework/install-sh -d C:/Spice/lib/spice > /bin/install -c -m 644 pkgIndex.tcl C:/Spice/lib/spice > /bin/install: cannot stat `pkgIndex.tcl': No such file or directory > make[1]: *** [install-tclspice] Error 1 > make[1]: Leaving directory `/d/Spice_General/ng-spice-rework/src' > make: *** [install-recursive] Error 1 > > At least a small step forward. > > To ask as an ignorant: This huge overhaul adding tcl-spice: What is it > good for? What does tcl offer to the user? > > How should the result of the build procedure look like, what > executables, dlls, and ... are to be expected? > > Regards > > Holger > > > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel |