Re: [ng-spice-devel] ACS converted to automake, autoconf


To ng-spice-devel@ieee.ing.uniroma1.it
From "Arno W. Peters" <a.w.peters@ieee.org>
Date Wed, 1 Nov 2000 23:59:54 +0100
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
In-Reply-To <39FFEA10.FAAAA98B@analog.com >; from alan.gillespie@analog.com on Wed, Nov 01, 2000 at 10:01:52AM +0000
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
References <20001030210607.A24396@cgmd80028.chello.nl > <39FE5936.126E84E2@wanadoo.fr > <00103021373100.01439@spiff.al.dynip.com > <39FF75F1.FFC6292B@wanadoo.fr > <39FFEA10.FAAAA98B@analog.com >
Reply-To ng-spice-devel@ieee.ing.uniroma1.it
User-Agent Mutt/1.2.5i

On Wed, Nov 01, 2000 at 10:01:52AM +0000, Alan Gillespie wrote:
> You guys make it sound like autoconf does all the work
> for you. That sounds great, but don't you have to put
> #ifdef statements all over your code to handle all the
> different Unices ?

Yes, an increase in granularity comes at a price.  The price is more
preprocessor defines.  However, since you have already confined all
platform dependent code in md.cc and md.h, these are the only files
that will have them.

> Does autoconf figure out for itself what files you need
> to compile and link ? It's always annoyed me that C
> C compilers can't just create a program if you give them
> the top level file.

Nope, autoconf is only to configure the source to a certain platform.
Automake's Makefile.am holds the information necessary to build the
libraries and the executables.  Look in src/Makefile.am,
modelgen/Makefile.am as examples.

Regards,
-- 
Arno

PGP signature


Partial thread listing: