default value of *MAXIMA-OBJDIR*



On 1/24/09, Raymond Toy <toy.raymond at gmail.com> wrote:

> Either is fine with me.   I'll need to rework slightly minpack.system
>  and lapack.system which are currently putting the results
>  in*maxima-objdir*/share/minpack/binary-foo.   With teither option, I
>  guess that would be *maxima-objdir*/minpack.  Works for me.
>
>  Also, I'm wondering if maxima-local should set MAXIMA_OBJDIR to be
>  somewhere in the source tree.  For someone that has both an installed
>  release and a CVS version, it's probably not a good idea to destroy the
>  fasls in *maxima-objdir* built with the release with new stuff from CVS.

I've committed changes to src/init-cl.lisp, maxima-local.in, and the
share *.system files which refer to *MAXIMA-OBJDIR* (there are some
which don't, I didn't touch them). Here's the log message:

Adjust *MAXIMA-OBJDIR* and modify *.system files in share accordingly.
(1) When environment variable MAXIMA_OBJDIR is set, let
*MAXIMA-OBJDIR* = $MAXIMA_OBJDIR/binary-foolisp.
  Shell script maxima-local sets MAXIMA_OBJDIR to $top_srcdir/binary.
(2) When MAXIMA_OBJDIR is not set, let *MAXIMA-OBJDIR* =
*MAXIMA-USERDIR*/binary/binary-foolisp.

Hope this helps. I wouldn't be surprised if we need to tweak it again,
but I hope this is a step in the right direction.

Robert Dodier