pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coefficient.[ch]


From: John Darrington
Subject: Re: coefficient.[ch]
Date: Tue, 4 Jul 2006 09:23:20 +0800
User-agent: Mutt/1.5.9i

On Fri, Jun 30, 2006 at 07:04:56PM -0400, Jason Stover wrote:
     I moved coefficient.[ch] to src/math since its routines
     will be necessary in more than the regression procedure.

Right now, there seem to be two copies.  One in src/math and one in
src/math/linreg

     
     I have two questions:
     
     - Should they be lib?

As I understand $top_srcdir/lib, it's meant for things that have a
reasonable chance of one day being released as an independent general
purpose library and have been written in such a way as to make that
possible. 

     - Linking happens in this order on the command line:
     
       ./src/math/libpspp_math.a ./src/math/linreg/libpspp_linreg.a
     
       but I had to reverse that so libpspp_linreg.a knew about 
coefficient.[ch].
       I'm not sure how to change this in the automake.mk's, and I'm not
       sure it should be changed if coefficient.[ch] belong in lib.
     

The lower level libraries should be specified last, so reversing the
order would be correct, I think.  This should be done in
src/ui/terminal/automake.mk


J'     

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]