Ngspice: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
|||
| Line 31: | Line 31: | ||
Compile the package: | Compile the package: | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
Install the package: | Install the package: | ||
make install | make install | ||
Install the html and pdf documentation: | Install the html and pdf documentation: | ||
install -v -m755 -d /usr/share/ng-spice-rework/html && | install -v -m755 -d /usr/share/ng-spice-rework/html && | ||
cp -v doc/ngspice.pdf /usr/share/ng-spice-rework/ && | cp -v doc/ngspice.pdf /usr/share/ng-spice-rework/ && | ||
| Line 46: | Line 49: | ||
=== 32Bit === | === 32Bit === | ||
Compile the package: | |||
CC="gcc ${BUILD32}" USE_ARCH=32 \ | |||
./configure --prefix=/usr && | |||
make | |||
Install the package: | |||
make install | |||
=== N32 === | === N32 === | ||
Compile the package: | |||
CC="gcc ${BUILDN32}" USE_ARCH=n32 \ | |||
./configure --prefix=/usr --libdir=/usr/lib32 && | |||
make | |||
Install the package: | |||
make install | |||
=== 64Bit === | === 64Bit === | ||
Compile the package: | |||
CC="gcc ${BUILD64}" USE_ARCH=64 \ | |||
./configure --prefix=/usr --libdir=/usr/lib64 && | |||
make | |||
Install the package: | |||
make install | |||
== Contents == | == Contents == | ||
{| style="text-align: left;" | {| style="text-align: left;" | ||
|-valign="top" | |-valign="top" | ||
!Installed Programs: | !Installed Programs: | ||
| Line 68: | Line 92: | ||
! Installed Libraries: | ! Installed Libraries: | ||
|libbsim4.a | |libbsim4.a | ||
|-valign="top" | |||
!Installed Directories: | |||
|/usr/lib/ng-spice-rework, /usr/share/ng-spice-rework/{helpdir,scripts} | |||
|} | |} | ||
Revision as of 20:19, 31 December 2006
| Download Source: | ftp://ftp.geda.seul.org/pub/geda/dist/ng-spice-rework-17.tar.gz |
|---|
Introduction to ngspice
Ngspice is a mixed-level/mixed-signal circuit simulator based on three open source software packages: Spice3f5, Cider1b1 and Xspice.
Homepage: http://ngspice.sourceforge.net
Dependencies
Required
Configuration Information
| --enable-sense2: Use spice2 sensitivity analysis. |
| --enable-intnoise: Enable noise integration in noise analysis. |
| --enable-smoketest: Enable "smoketest" compile. |
| --enable-xgraph: Enable xgraph compilation. |
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package:
make install
Install the html and pdf documentation:
install -v -m755 -d /usr/share/ng-spice-rework/html && cp -v doc/ngspice.pdf /usr/share/ng-spice-rework/ && cp -v doc/ngspice.html/*.html /usr/share/ng-spice-rework/html
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr &&
make
Install the package:
make install
N32
Compile the package:
CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make
Install the package:
make install
64Bit
Compile the package:
CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make
Install the package:
make install
Contents
| Installed Programs: | nghelp, ngmultidec, ngnutmeg, ngsconvert, ngspice |
|---|---|
| Installed Libraries: | libbsim4.a |
| Installed Directories: | /usr/lib/ng-spice-rework, /usr/share/ng-spice-rework/{helpdir,scripts} |
Short Descriptions
| nghelp: | Provides help for ng-spice-rework functions. |
|---|---|
| ngmultidec: | Creates a subcircuit for coupled lines using uncoupled simple lossy lines. |
| ngnutmeg: | Calls the engine to simulate the electical circuits in FILE passed as an argument. |
| ngsconvert: | Converts various ng-spice-rework file types to other ng-spice-rework file types. |
| ngspice: | Calls the engine to simulate the electical circuits in FILE passed as an argument. |