Maxima fails to build with ECL on Cygwin (with patch)
- Subject: Maxima fails to build with ECL on Cygwin (with patch)
- From: Robert Dodier
- Date: Sat, 3 Apr 2010 12:37:50 -0600
On 4/1/10, Mike Hansen <mhansen at gmail.com> wrote:
> The following patch allows Maxima to correctly build with ECL under
> Cygwin. It just removes the special casing for cygwin.
>
> --- ../src/src/maxima.system 2009-11-29 20:23:22.000000000 -0800
> +++ maxima.system 2010-03-12 22:25:17.574497515 -0800
> @@ -1,4 +1,4 @@
> -;;; -*- Lisp -*-
> +;; -*- Lisp -*-
>
> (in-package :cl-user)
>
> @@ -55,9 +55,7 @@
> (c::build-static-library "binary-ecl/maxima-lib" :lisp-files
> (print files))
> (let ((c::*ld-format* (concatenate 'string c::*ld-format* "
> /LIBPATH:binary-ecl")))
> (c::build-fasl "binary-ecl/maxima" :lisp-files '(maxima-lib))))
> - #+cygwin
> - (c::build-fasl "binary-ecl/maxima" :lisp-files files)
> - #-(or cygwin msvc)
> + #-msvc
> (let ((obj (mapcar #'(lambda (p)
> ;; Convert dir/foo.fas to dir/foo.o
> (make-pathname :type "o" :defaults p))
Thanks, Mike, I';ve committed it as r1.80 maxima/src/maxima.system.
For the record it is preferable to submit patches as attachments
since otherwise they often get messed up.
Thanks for your help,
Robert Dodier