home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!slcs.slb.com!leo.asc.slb.com!sjsca4!engel
- From: engel@sj.ate.slb.com (Mike Engelhardt)
- Subject: SPICE for Linux
- Message-ID: <ENGEL.92Dec21151929@zen.sj.ate.slb.com>
- Lines: 55
- Sender: news@sj.ate.slb.com
- Organization: Schlumberger ATE, San Jose
- Date: Mon, 21 Dec 92 23:23:28 GMT
-
- helz@ecn.purdue.edu asks:
-
- > Has anyone gotten spice for Linux compiled? [...]
-
- I have compiled and use SPICE3d2 and SPICE3e2 on Linux. 3d2
- isn't too hard to compile, though the X11 stuff was a mess.
- 3e2 is difficult to build. The reason is that they don't use
- a standard makefile scheme. It is built from shell scripts
- which create new files which are concatenated together with
- other files into a pipe which is fed to make, which recursively
- calls this script to make new files and pipes which are feed
- to a another invocation of make. The scope of variables under
- GNUutilites is different than anticipated by the auther(s) of
- this build scheme. It's difficult to debug. One thing that
- can happen is your hard disk gets filled with empty directories.
- It was easier to build by hand(even though there are 719 .c
- files) than to use the intended build scripts. However, I did
- get the scripts working, because I wanted to be able to easily
- hack on SPICE.
-
- Each directory has a file called 'makedefs' instead of 'Makefile'.
- I fixed the problem by resetting the offending variables in each
- makedefs file. There are also syntax errors in the distributed
- scripts to fix.
-
- Other than that, there's a few hours of fixes to the source code,
- most of which are obvious like changing "*<string_pointer> = NULL"
- to "*<string_pointer> = '\0'" to suppress the warning. There
- were, however, a few real fixes as I recall.
-
- I don't expect the demand for this is very high, so I wouldn't
- pursue uploading my work to an ftp site. Also, I won't get
- involved in copyright or export issues of SPICE. The latest
- version of SPICE is 3f2, but the policy has been to not have it
- available via anonymous ftp. I use a copy of SPICE3e2 I got
- from Italy (The Italians do alot of original work done with it,
- too.)
-
- But if you need to get SPICE up and running, e-mail me and I'll
- try to help get you set up, though.
-
- Mike Engelhardt engel@sj.ate.slb.com
-
- /*
- * For those who suffered through this and don't know what
- * SPICE is:
- *
- * SPICE is a program used to simulate the behavior of
- * electric circuits. It has been an extremely successful
- * simulator. The idea is you give it a circuit(as a list of
- * parts and semiconductor device parameters in text) and tell
- * it to calculate what it does for the first millisecond of
- * being turned on. The best introduction I've seen on the
- * application of this program is Lawrence Nagal's Ph.D. thesis.
- */
-