From: SAINTE C. L. <lio...@gm...> - 2008-08-24 19:07:25
|
Hi all, Hi Holger While waiting for Dietmar comments to finalize tclspice, I try to anticipate the build of tclspice for windows. Holger, it seems than you know precisely how to build ngspice for windows. Can you tell me if you compile it or cross compile, with which tool/system/verion the exact procedure you use, the buid scripts, configure flags/options The windows versions you did it on and/or tested it on? thanks by advance, your help will be precious and time saving. Sincerly yours, Lionel |
From: Holger V. <hol...@un...> - 2008-08-25 22:00:10
|
Lionel, I will try to give you an answer by tomorrow. Regards Holger SAINTE CLUQUE Lionel schrieb: > Hi all, Hi Holger > > While waiting for Dietmar comments to finalize tclspice, I try to > anticipate the build of tclspice for windows. > > Holger, it seems than you know precisely how to build ngspice for > windows. > > Can you tell me if you compile it or cross compile, > with which tool/system/verion > the exact procedure you use, > the buid scripts, configure flags/options > The windows versions you did it on and/or tested it on? > > thanks by advance, your help will be precious and time saving. > > Sincerly yours, > > Lionel > |
From: Holger V. <hol...@un...> - 2008-08-26 17:10:29
|
Lionel, ngspice for Windows will compile in the mingw environment (http://sourceforge.net/project/showfiles.php?group_id=2435) out of the box from the actual ngspice CVS sources . I am using gcc3.4.5 within msys 1.0.10. Both configurations are now superceeded by newer versions. My operating system is Windows XP home, service pack 2 on a Pentium 4 with 1.5 GB of memory. For debugging I am using insight with gdb 6.3. For CVS I am using TortoiseCVS Version 1.8.11. The command sequence from inside the MSYS box is: autogen.sh ./configure --with-windows --enable-maintainer-mode --enable-xspice --enable-cider (with optional --disable-debug) make install which will install ngspice to C:\Spice. Due to a defect in my auto tool installation I have to run autogen.sh from a CYGWIN window. I have also used gcc4.2.1, but with no simulation speed advantage. I really should update my software tools, but time is lacking a bit. Regards Holger SAINTE CLUQUE Lionel schrieb: > Hi all, Hi Holger > > While waiting for Dietmar comments to finalize tclspice, I try to > anticipate the build of tclspice for windows. > > Holger, it seems than you know precisely how to build ngspice for > windows. > > Can you tell me if you compile it or cross compile, > with which tool/system/verion > the exact procedure you use, > the buid scripts, configure flags/options > The windows versions you did it on and/or tested it on? > > thanks by advance, your help will be precious and time saving. > > Sincerly yours, > > Lionel > |
From: Paolo N. <pne...@gm...> - 2008-08-26 18:21:54
|
Ciao Holger, Grat. I have teasted this afternoon tclspice with Lionel in chat. It worked out of the box. The only problem found was the tcl test 3. THe netlist generated does not work and should be modified by hand. I have a convergence problem and seems that I cannot have a subckt name equal to a .model name. Can you confirm that ? Ciao, Paolo Holger Vogt wrote: > Lionel, > > ngspice for Windows will compile in the mingw environment > (http://sourceforge.net/project/showfiles.php?group_id=2435) > out of the box from the actual ngspice CVS sources . > > I am using gcc3.4.5 within msys 1.0.10. Both configurations are now > superceeded by newer versions. > > My operating system is Windows XP home, service pack 2 on a Pentium 4 > with 1.5 GB of memory. > > For debugging I am using insight with gdb 6.3. For CVS I am using > TortoiseCVS Version 1.8.11. > > The command sequence from inside the MSYS box is: > autogen.sh > ./configure --with-windows --enable-maintainer-mode --enable-xspice > --enable-cider (with optional --disable-debug) > make install > > which will install ngspice to C:\Spice. > > Due to a defect in my auto tool installation I have to run autogen.sh > from a CYGWIN window. I have also used gcc4.2.1, but with no simulation > speed advantage. I really should update my software tools, but time is > lacking a bit. > > Regards > > Holger > > > > SAINTE CLUQUE Lionel schrieb: >> Hi all, Hi Holger >> >> While waiting for Dietmar comments to finalize tclspice, I try to >> anticipate the build of tclspice for windows. >> >> Holger, it seems than you know precisely how to build ngspice for >> windows. >> >> Can you tell me if you compile it or cross compile, >> with which tool/system/verion >> the exact procedure you use, >> the buid scripts, configure flags/options >> The windows versions you did it on and/or tested it on? >> >> thanks by advance, your help will be precious and time saving. >> >> Sincerly yours, >> >> Lionel >> > > > ------------------------------------------------------------------------- > 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 |
From: Martin, M. <Mar...@jh...> - 2008-08-26 20:54:45
|
I recently got ngspice running. it seems to work fine and I plan to incorporate it into my work flow as soon as I relearn some of differences from my usual simulator (HSPICE) I see that in ngspice mos level =49 is used for BSIM3v1S (Serban's Code). I consider this an unfortunate choice because in HSPICE mos level=49 is an HSPICE enhanced BSIM3v3 model. Since some foundries supply HSPICE level 49 models, I think some users may get themselves confused when they try to use the HSPICE level 49 model with ngspice, especially users that are only casually familiar with the various models out there. One solutions would be to change the level number. However, I realize this is probably not desirable at this stage. Therefore, I suggest that the documentation has some words to inform the user that the ngspice mos level 49 is not equivalent to the HSPICE level 49 model. Thanks Mark |
From: Stuart B. <sd...@cl...> - 2008-08-26 21:08:14
|
Hi -- > [...] I suggest that the > documentation > has some words to inform the user that the ngspice mos level 49 is not > equivalent to > the HSPICE level 49 model. Documenting the difference is a good idea. But has you have seen, there is very little formal ngspice documentation. :-( However, Peter Kaiser did create a table of device numbers several years ago, and put it on his website. You can find it here: http://www.easy-asic.de/analog.html Look under the heading "Models in ngspice and gnucap". Cheers, Stuart |
From: Paolo N. <pne...@gm...> - 2008-08-26 21:19:40
|
Stuart, Give a look to the CVS ;) I have updated docs a little bit. It is yet unfinished work, but it is growing. I would have your opinion and suggestions, since almost an year ago we discussed about that. Ciao, Paolo Stuart Brorson wrote: > Hi -- > >> [...] I suggest that the >> documentation >> has some words to inform the user that the ngspice mos level 49 is not >> equivalent to >> the HSPICE level 49 model. > > Documenting the difference is a good idea. But has you have seen, > there is very little formal ngspice documentation. :-( > > However, Peter Kaiser did create a table of device numbers several > years ago, and put it on his website. You can find it here: > > http://www.easy-asic.de/analog.html > > Look under the heading "Models in ngspice and gnucap". > > Cheers, > > Stuart > > ------------------------------------------------------------------------- > 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 |
From: <th...@mi...> - 2008-08-27 05:56:39
|
Hello all, to gain speed you should probably try too add additional gcc- options (when --disable-debug is also applied) like -mtune=pentium4 -O6 (-O3) -msse3 ... but in the "configure.in" there is as far as I have seen it no optimization enabled ... Regards, Stephan |
From: Holger V. <hol...@un...> - 2008-08-27 21:31:38
|
Stephan, optmising is set to -O2 in configure.in. 203 if test "$enable_debug" = "no"; then 204 if test "x$GCC" = "xyes"; then 205 AC_MSG_WARN(Removing debugging option!) 206 CFLAGS="$CFLAGS -O2 -Wall" 207 else 208 AC_MSG_WARN(Removing debugging option!) 209 CFLAGS="$CFLAGS" 210 fi If I use "-mtune=pentium4 -O3 -msse3" instead of "-O2" (Mingw gcc 3.4.5) I do not see much speed difference. Regards Holger th...@mi... schrieb: > Hello all, > > to gain speed you should probably try too add additional gcc- > options (when --disable-debug is also applied) like -mtune=pentium4 > -O6 (-O3) -msse3 ... but in the "configure.in" there is as far as I have > seen it no optimization enabled ... > > > > Regards, > Stephan > > > ------------------------------------------------------------------------- > 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 > > > |
From: <th...@mi...> - 2008-08-28 05:39:35
|
Holger, perhaps this is new to gcc4 or you need a additional compiler switch but I have read that the compiler make automatically a vectorisation where possible to gain speed. (-fast) -ftree-vectorize On http://www.mingw.org/MinGWiki/index.php/GccStatus you will find links to mingw-gcc4-versions. Regards, Stephan > Stephan, > > optmising is set to -O2 in configure.in. > > 203 if test "$enable_debug" = "no"; then > 204 if test "x$GCC" = "xyes"; then > 205 AC_MSG_WARN(Removing debugging option!) > 206 CFLAGS="$CFLAGS -O2 -Wall" > 207 else > 208 AC_MSG_WARN(Removing debugging option!) > 209 CFLAGS="$CFLAGS" > 210 fi > > If I use "-mtune=pentium4 -O3 -msse3" instead of "-O2" (Mingw gcc 3.4.5) I > do not see much speed difference. > > Regards > > Holger > > > > > > > > th...@mi... schrieb: >> Hello all, >> >> to gain speed you should probably try too add additional gcc- >> options (when --disable-debug is also applied) like -mtune=pentium4 >> -O6 (-O3) -msse3 ... but in the "configure.in" there is as far as I >> have >> seen it no optimization enabled ... >> >> >> >> Regards, >> Stephan >> >> >> ------------------------------------------------------------------------- >> 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 >> >> >> > > > ------------------------------------------------------------------------- > 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 > |
From: Paolo N. <pne...@gm...> - 2008-08-28 07:35:18
|
Hi, Holger and Stephan, Ngspice uses sparse as library for solving the linear system that is generated from the circuit graph. Sparse used a linked lists approach to represent the matrix in memory, not vectors, so I think that vectorization does not help to improve performances. This could be an explanation. Ciao, Paolo th...@mi... wrote: > Holger, > > perhaps this is new to gcc4 or you need a additional compiler switch > but I have read that the compiler make automatically a vectorisation > where possible to gain speed. > > (-fast) -ftree-vectorize > > On > http://www.mingw.org/MinGWiki/index.php/GccStatus > you will find links to mingw-gcc4-versions. > > Regards, > Stephan > > >> Stephan, >> >> optmising is set to -O2 in configure.in. >> >> 203 if test "$enable_debug" = "no"; then >> 204 if test "x$GCC" = "xyes"; then >> 205 AC_MSG_WARN(Removing debugging option!) >> 206 CFLAGS="$CFLAGS -O2 -Wall" >> 207 else >> 208 AC_MSG_WARN(Removing debugging option!) >> 209 CFLAGS="$CFLAGS" >> 210 fi >> >> If I use "-mtune=pentium4 -O3 -msse3" instead of "-O2" (Mingw gcc 3.4.5) I >> do not see much speed difference. >> >> Regards >> >> Holger >> >> >> >> >> >> >> >> th...@mi... schrieb: >>> Hello all, >>> >>> to gain speed you should probably try too add additional gcc- >>> options (when --disable-debug is also applied) like -mtune=pentium4 >>> -O6 (-O3) -msse3 ... but in the "configure.in" there is as far as I >>> have >>> seen it no optimization enabled ... >>> >>> >>> >>> Regards, >>> Stephan >>> >>> >>> ------------------------------------------------------------------------- >>> 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 >>> >>> >>> >> >> ------------------------------------------------------------------------- >> 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 >> > > > > ------------------------------------------------------------------------- > 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 |
From: Holger V. <hol...@un...> - 2008-08-30 09:21:50
|
Paolo, currently building ngspice for Windows fails during ./configure with a failure message that TCL_MODULE has never been defined. It is however needed in several makefile.am. In configure.in you have placed the code for tcl library detection into a case statement inside the branch which is selected if Windows is not chosen. case $with_windows in yes ) some code * ) ########################################################################## # # tcl libraries test # ########################################################################## AM_CONDITIONAL(TCL_MODULE, false) other code esac esac is in line 528. Is it intended to have --with-tcl to be not accessible from Windows? If yes, at least the AM_CONDITIONAL(TCL_MODULE, false) should be moved to a place in front of the case loop. Regards Holger |
From: Paolo N. <pne...@gm...> - 2008-09-01 10:24:07
|
Hello Holger, I have tested on Unix and worked. Took note of your report. Let me check and I will try to fix in the evining. Thanks, Paolo Holger Vogt wrote: > Paolo, > > currently building ngspice for Windows fails during ./configure with a > failure message that TCL_MODULE has never been defined. It is however > needed in several makefile.am. > > In configure.in you have placed the code for tcl library detection into > a case statement inside the branch which is selected if Windows is not > chosen. > > case $with_windows in > yes ) > some code > * ) > > ########################################################################## > # > # tcl libraries test > # > ########################################################################## > AM_CONDITIONAL(TCL_MODULE, false) > other code > esac > > esac is in line 528. > > Is it intended to have --with-tcl to be not accessible from Windows? If > yes, at least the AM_CONDITIONAL(TCL_MODULE, false) should be moved to a > place in front of the case loop. > > 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 |
From: Holger V. <hol...@un...> - 2008-09-02 20:03:23
|
Hi all, the windows version builds again (without tcl). This is what I did so far to get tclspice running under Windows: My Mingw compiler is sitting in C:\gcc_345. I have added TCL/TK 8.4 to that directory, in addition also blt24z-for-tcl84.exe. fstab in /msys/1.0/etc links /mingw to C:\gcc_345. In configure.in I have added the path /mingw after line 471: if test "x$tcl_config_sh" = "x" ; then for dir in \ `ls -dr /usr/local/tcl/tcl[[7-9]].[[0-9]]* 2>/dev/null` \ /usr/local/tcl \ /usr/local \ /usr \ /mingw do if test -r "$dir/tclConfig.sh" ; then ... I have edited tclConfig.sh: line 17: TCL_VERSION='84' line 60: TCL_PREFIX='/mingw' several other paths are replaced by /mingw. autogen.sh $ ./configure --with-windows --enable-maintainer-mode --enable-xspice --enable-cider --disable-debug --with-tcl delivers the makefiles. make install creates ngspice.o, conf.o and spice.o and *.lo, but then crashes with the error message: make[1]: *** No rule to make target `frontend/libfte.la', needed by `libspice.la'. Stop. make[1]: Leaving directory `/c/ngspice/ng-spice-rework/src' If there is any hint how to continue, please let me know. Regards Holger Paolo Nenzi schrieb: > Hello Holger, > > I have tested on Unix and worked. Took note of your report. Let me check > and I will try to fix in the evining. > > Thanks, > Paolo > > |
From: Holger V. <hol...@un...> - 2008-09-06 09:42:41
|
Hi all, it is true that I can compile ngspice without tcl under mingw right now using CVS sources, however compilation is very slow. The following excerpt from the "make install" log file shows why: each file is currently compiled two times! The same happens in a pure CYGWIN build. if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -g -O2 -O2 -Wall -mwindows -MT niconv.lo -MD -MP -MF ".deps/niconv.Tpo" -c -o niconv.lo niconv.c; \ then mv -f ".deps/niconv.Tpo" ".deps/niconv.Plo"; else rm -f ".deps/niconv.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -g -O2 -O2 -Wall -mwindows -MT niconv.lo -MD -MP -MF .deps/niconv.Tpo -c niconv.c -DDLL_EXPORT -DPIC -o .libs/niconv.o gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -g -O2 -O2 -Wall -mwindows -MT niconv.lo -MD -MP -MF .deps/niconv.Tpo -c niconv.c -o niconv.o >/dev/null 2>&1 which is probably wanted and reflected in the entry to niconv.lo. # Name of the PIC object. pic_object='.libs/niconv.o' # Name of the non-PIC object. non_pic_object='niconv.o' What is this all about? Why do we need such a major change to the build procedure? Why do we need to introduce *.lo and *.la? The tcl options is not ready anyway. Working on ngspice under Windows currently is not very pleasant. Regards Holger Holger Vogt schrieb: > Hi all, > > the windows version builds again (without tcl). > > ... |
From: Paolo N. <pne...@gm...> - 2008-09-08 08:19:44
|
Holger, I was able to setup a cygwin environment on my pc. I downloaded the ActiveState TCL as tcl implementation. Can you tell me the compilation procedure for ngspice ? We used libtool (from .a to .la) to improve portability of the simulator. Thanks, Paolo |
From: Dietmar W. <die...@ar...> - 2008-09-08 17:34:54
|
Paolo, If we speak about Windows I would prefer to use msys/mingw + ActiveState. Cygwin is more comparable to linux and is dependent from cygwin.dll (not opensource!). Also mixing cygwin with ActiveState is not a good idea because this are two different worlds also if it will work. Just for information cygwin has his own tcl/tk distribution. Good luck Dietmar Paolo Nenzi schrieb: > Holger, > > I was able to setup a cygwin environment on my pc. I downloaded the > ActiveState TCL as tcl implementation. > > Can you tell me the compilation procedure for ngspice ? > > We used libtool (from .a to .la) to improve portability of the simulator. > > Thanks, > Paolo > > ------------------------------------------------------------------------- > 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 > > |
From: Paolo N. <pne...@gm...> - 2008-09-08 21:18:32
|
Ciao Dietmar, Nice to hear news from you. Dietmar Warning ha scritto: > Paolo, > > If we speak about Windows I would prefer to use msys/mingw + ActiveState. > I will follow your advice, and ask for another one :) What about codeblocks as an IDE ? Have you something better ? Ciao, Paolo |
From: Holger V. <hol...@un...> - 2008-09-13 20:56:16
|
Paolo, what about Eclipse (http://www.eclipse.org/home/newcomers.php)? I have not used it, but there is much noise about it. Regards Holger Paolo Nenzi schrieb: > Ciao Dietmar, > > Nice to hear news from you. > > Dietmar Warning ha scritto: > >> Paolo, >> >> If we speak about Windows I would prefer to use msys/mingw + ActiveState. >> >> > I will follow your advice, and ask for another one :) What about > codeblocks as an IDE ? Have you something better ? > > Ciao, > Paolo > > ------------------------------------------------------------------------- > 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 > > > |
From: Paolo N. <pne...@gm...> - 2008-09-09 08:36:14
|
Ciao Dietmar, I have installed msys/mingw , can you tell me a reliable source for flex,bison and the autoconf suite ? I have t odownload and compile from sources or there are precompiled binaries somewhere ? Thanks, Paolo Dietmar Warning wrote: > Paolo, > > If we speak about Windows I would prefer to use msys/mingw + ActiveState. > > Cygwin is more comparable to linux and is dependent from cygwin.dll (not > opensource!). > Also mixing cygwin with ActiveState is not a good idea because this are > two different worlds also if it will work. Just for information cygwin > has his own tcl/tk distribution. > > Good luck > Dietmar > > > Paolo Nenzi schrieb: >> Holger, >> >> I was able to setup a cygwin environment on my pc. I downloaded the >> ActiveState TCL as tcl implementation. >> >> Can you tell me the compilation procedure for ngspice ? >> >> We used libtool (from .a to .la) to improve portability of the simulator. >> >> Thanks, >> Paolo >> >> ------------------------------------------------------------------------- >> 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 >> >> > > > ------------------------------------------------------------------------- > 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 |
From: Dietmar W. <die...@ar...> - 2008-09-09 17:13:38
|
Hi Paolo, every start is hard. Uuuh a poet =-O There exist a "Msys Developer Toolkit 1.0.1" as a installable exe. (You can see it in installed software after it.) And if I remember right I actualized the autotools 1/2 year ago. Dietmar Paolo Nenzi schrieb: > Ciao Dietmar, > > I have installed msys/mingw , can you tell me a reliable source for > flex,bison and the autoconf suite ? I have t odownload and compile from > sources or there are precompiled binaries somewhere ? > > Thanks, > Paolo > > > Dietmar Warning wrote: > >> Paolo, >> >> If we speak about Windows I would prefer to use msys/mingw + ActiveState. >> >> Cygwin is more comparable to linux and is dependent from cygwin.dll (not >> opensource!). >> Also mixing cygwin with ActiveState is not a good idea because this are >> two different worlds also if it will work. Just for information cygwin >> has his own tcl/tk distribution. >> >> Good luck >> Dietmar >> >> >> Paolo Nenzi schrieb: >> >>> Holger, >>> >>> I was able to setup a cygwin environment on my pc. I downloaded the >>> ActiveState TCL as tcl implementation. >>> >>> Can you tell me the compilation procedure for ngspice ? >>> >>> We used libtool (from .a to .la) to improve portability of the simulator. >>> >>> Thanks, >>> Paolo >>> >>> ------------------------------------------------------------------------- >>> 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 >>> >>> >>> >> ------------------------------------------------------------------------- >> 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 >> > > > ------------------------------------------------------------------------- > 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 > > |
From: Holger V. <hol...@un...> - 2008-09-10 18:13:27
|
Hi all, what I will try to do next is to remove all mingw stuff from a machine and then do a fresh install. When I am successful, I will report on it. Regards Holger Dietmar Warning schrieb: > Hi Paolo, > > every start is hard. Uuuh a poet =-O > There exist a "Msys Developer Toolkit 1.0.1" as a installable exe. > (You can see it in installed software after it.) > And if I remember right I actualized the autotools 1/2 year ago. > > Dietmar > |
From: Paolo N. <pne...@gm...> - 2008-09-10 18:38:22
|
Thanks Holger, I am quite scared by usign windows for development :) You are heroes :) Paolo Holger Vogt wrote: > Hi all, > > what I will try to do next is to remove all mingw stuff from a machine > and then do a fresh install. When I am successful, I will report on it. > > Regards > > Holger > > > Dietmar Warning schrieb: >> Hi Paolo, >> >> every start is hard. Uuuh a poet =-O >> There exist a "Msys Developer Toolkit 1.0.1" as a installable exe. >> (You can see it in installed software after it.) >> And if I remember right I actualized the autotools 1/2 year ago. >> >> Dietmar >> > > > ------------------------------------------------------------------------- > 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 |
From: Holger V. <hol...@un...> - 2008-09-10 22:15:57
|
Paolo, meanwhile I have set up a fresh mingw which runs and currently builds ngspice! I have been following exactly (step by step, an ugly procedure of you are used to Windows installers) the advice given in http://www.mingw.org/wiki/msys . First I have installed the compiler to c:/mingw using MinGW-5.1.4.exe downloaded from the link "MingW" given in the first bullet of chapter "Installing MSYS". Next was to install MSYS downloaded with link "MSYS 1.0.10", then MSYS DTK and MSYS Core. I added the "Recommended Updates" (bash, Coreutils, m4). Next I removed the file entries for autoconf, automake from C:/msys/1.0/bin. To add new autotools, I downloaded autoconf-2.63, automake-1.10.1, and libtool-2.2.6a from the links presented in chapter "Using MSYS with MinGW" and followed the procedure described in the next lines of the wiki for each package individually. Finally I added the path informationas described to C:\msys\1.0\etc\profile. Because I prefer not to use rxvt, but the Windows cmd box, I have changed rxvt.exe in C:/msys/1.0/bin to rxvt.exe_. Double click on the MSYS icon on the desktop will open the cmd box. In ng-spice-rework I ran autogen.sh > autogen.log 2>&1 ./configure --with-windows --enable-maintainer-mode --enable-xspice --enable-cider --disable-debug make > make.log 2>&1 make install and I find a new ngspice.exe in C:/Spice/bin. Source code is from CVS, 01.09.09. Still compilation is done twice per *.c file as I have already reported. To allow compilation with tcl, I installed into C:/mingw blt24z-for-tcl84.exe from http://sourceforge.net/project/showfiles.php?group_id=18616&package_id=31370 and tcltk-8.4.1-1.exe from https://sourceforge.net/project/showfiles.php?group_id=2435. You then need to edit C:/mingw/lib/tclConfig.sh, line 17 to TCL_VERSION='84' ./configure --with-windows --enable-maintainer-mode --enable-xspice --enable-cider --disable-debug --with-tcl will then create all makefiles. make clean make > make.log 2>&1 now starts compiling. The error I had reported not finding a rule to make libfte.la is gone! Still it seems to be compiiling twice. Compilation finally failed with the error message: /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../src/include -I../src/spicelib/devices -I/mingw/include -pipe -O2 -mms-bitfields -march=i686 -O2 -Wall -mwindows -I/mingw/include -DTCLSPICE_version="\"17.1\"" -MT tclspice.lo -MD -MP -MF .deps/tclspice.Tpo -c -o tclspice.o tclspice.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src/include -I../src/spicelib/devices -I/mingw/include -pipe -O2 -mms-bitfields -march=i686 -O2 -Wall -mwindows -I/mingw/include -DTCLSPICE_version=\"17.1\" -MT tclspice.lo -MD -MP -MF .deps/tclspice.Tpo -c tclspice.c -o tclspice.o In file included from c:/mingw/include/windef.h:253, from tclspice.c:57: c:/mingw/include/winnt.h:185: error: syntax error before ',' token tclspice.c:92: error: syntax error before "jbuf" But this is another story to be dealt with another day. Regards Holger Paolo Nenzi schrieb: > Thanks Holger, > > I am quite scared by usign windows for development :) You are heroes :) > > Paolo > > |
From: Paolo N. <pne...@gm...> - 2008-09-11 07:30:39
|
Dear Holger, Thanks for the step-by-step manual. I think I am doing something wrong, because, when I try to launch ./configure on every package i got errors like the following: 0 [main] sh 32868 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump This is strange, maybe I am doing something wrong. Any clue ? Ciao, Paolo Holger Vogt wrote: > Paolo, > > meanwhile I have set up a fresh mingw which runs and currently builds > ngspice! > > I have been following exactly (step by step, an ugly procedure of you > are used to Windows installers) the advice given in > http://www.mingw.org/wiki/msys . > > First I have installed the compiler to c:/mingw using MinGW-5.1.4.exe > downloaded from the link "MingW" given in the first bullet of chapter > "Installing MSYS". Next was to install MSYS downloaded with link "MSYS > 1.0.10", then MSYS DTK and MSYS Core. I added the "Recommended Updates" > (bash, Coreutils, m4). > > Next I removed the file entries for autoconf, automake from C:/msys/1.0/bin. > > To add new autotools, I downloaded autoconf-2.63, automake-1.10.1, and > libtool-2.2.6a from the links presented in chapter "Using MSYS with > MinGW" and followed the procedure described in the next lines of the > wiki for each package individually. Finally I added the path > informationas described to C:\msys\1.0\etc\profile. > > Because I prefer not to use rxvt, but the Windows cmd box, I have > changed rxvt.exe in C:/msys/1.0/bin to rxvt.exe_. > > Double click on the MSYS icon on the desktop will open the cmd box. In > ng-spice-rework I ran > autogen.sh > autogen.log 2>&1 > ./configure --with-windows --enable-maintainer-mode --enable-xspice > --enable-cider --disable-debug > make > make.log 2>&1 > make install > > and I find a new ngspice.exe in C:/Spice/bin. Source code is from CVS, > 01.09.09. > > Still compilation is done twice per *.c file as I have already reported. > > To allow compilation with tcl, I installed into C:/mingw > blt24z-for-tcl84.exe from > http://sourceforge.net/project/showfiles.php?group_id=18616&package_id=31370 > > and tcltk-8.4.1-1.exe from > https://sourceforge.net/project/showfiles.php?group_id=2435. > > You then need to edit C:/mingw/lib/tclConfig.sh, line 17 to > TCL_VERSION='84' > > ./configure --with-windows --enable-maintainer-mode --enable-xspice > --enable-cider --disable-debug --with-tcl > will then create all makefiles. > make clean > make > make.log 2>&1 > now starts compiling. The error I had reported not finding a rule to > make libfte.la is gone! Still it seems to be compiiling twice. > > Compilation finally failed with the error message: > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -I../src/include -I../src/spicelib/devices -I/mingw/include > -pipe -O2 -mms-bitfields -march=i686 -O2 -Wall -mwindows > -I/mingw/include -DTCLSPICE_version="\"17.1\"" -MT tclspice.lo -MD -MP > -MF .deps/tclspice.Tpo -c -o tclspice.o tclspice.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src/include > -I../src/spicelib/devices -I/mingw/include -pipe -O2 -mms-bitfields > -march=i686 -O2 -Wall -mwindows -I/mingw/include > -DTCLSPICE_version=\"17.1\" -MT tclspice.lo -MD -MP -MF > .deps/tclspice.Tpo -c tclspice.c -o tclspice.o > In file included from c:/mingw/include/windef.h:253, > from tclspice.c:57: > c:/mingw/include/winnt.h:185: error: syntax error before ',' token > tclspice.c:92: error: syntax error before "jbuf" > > But this is another story to be dealt with another day. > > Regards > > Holger > > > > Paolo Nenzi schrieb: >> Thanks Holger, >> >> I am quite scared by usign windows for development :) You are heroes :) >> >> Paolo >> >> > > > ------------------------------------------------------------------------- > 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 |