home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21337 < prev    next >
Encoding:
Text File  |  1992-12-22  |  2.7 KB  |  66 lines

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