Re: [ng-spice-devel] ACS code


To ng-spice-devel@ieee.ing.uniroma1.it
From Al Davis <aldavis@ieee.org>
Date Thu, 8 Feb 2001 09:52:23 -0800
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
In-Reply-To <Pine.LNX.3.96.1010208121717.6926A-100000@ieee.ing.uniroma1.it >
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
References <Pine.LNX.3.96.1010208121717.6926A-100000@ieee.ing.uniroma1.it >
Reply-To ng-spice-devel@ieee.ing.uniroma1.it

On Thu, 08 Feb 2001, Paolo Nenzi wrote:
> What about reformat your code (ACS) giving each device a different
> dir ?

Why?  In most cases, there are two files per device.  In some, only 
one.  Spice needs the dirs because it has over 20 files per device.

Actually, I have thought of separating out groups, essentially 
matching the prefix.  The reason for keeping it flat is to enhance 
portability.  Considering the tools are better now, it may be time to 
change.

The flat structure made it easier to port to systems like MS-DOS and 
VMS.  I think it still does.  Unix with recursive makefiles handles 
subdirs fine, but some other systems are a real pain when there are 
subdirs.


To answer Alan's question on what compiler I used on Windows.......  
For the most recent tested version, I used Microsoft Visual Studio 6. 
 It is really pretty simple.  You rename all *.cc to *.cpp, then drag 
all the *cpp and *.h files into the development environment, then 
compile.  The latest tested version is an internal one midway between 
0.27 and 0.28.  That same internal version also compiles on Sloaris 
with Sun's compiler.

In the earlier days, I used Borland (version 3) for the DOS port.  It 
had some interesting bugs, like comparisons that return int, and give 
a type mismatch when used as a bool.  It also ran about 10x slower 
than the same computer running Linux.

Partial thread listing: