Re: [ng-spice-devel] ACS code
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: