maxima and clozurecl-1.5



On 5/3/10 3:25 PM, Andrey G. Grozin wrote:
> Hello *,
>
> In the current configure.in
>
> openmcl_default_name=openmcl
>
> Recent versions of clozurecl (former openmcl) use the program name
> ccl. I think we should change the default name, to make 
Perhaps I messed something up, but my installation of ccl 1.4 has an
executable named dx86cl (or dx86cl64).
>
>
> clozurecl-1.5 (the current version) brought in an additional
> difficulty. Now the value of *read-default-float-format* used 
Maybe that's a bug in ccl-1.5?
> during the build is no longer saved in the image, and is wrong when
> maxima is started. To solve this problem, I replaced in src/maxima.in
> the line
>
> exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" 
> $MAXIMA_LISP_OPTIONS -e '(cl-user::run)'
>
> by the line with
>
> -e "(let\* ((\*read-default-float-format\* 'double-float))
> (cl-user::run))"
>
> Without this change, *read-default-float-format* is 'single-float
> after maxima is started, and this leads to numerous testsuite
> failures. With the above patch, clozurecl-1.5 gives 0 unexpected
> errors. The change makes no harm to earlier versions of clozurecl. I
> think it should be incorporated in maxima.
Agreed.  But it might be better to just bind that in cl-user::run in
init-cl.lisp.

Ray