It is no wonder Maxima does not build in Cygwin. Someone had introduced, who knows why, different build commands for that platform in maxima.system. The offending function looks as follows (maxima/src/maxima.system)<br><br>
<font face="courier new,monospace">#+ecl<br>(defun build-maxima-lib ()<br> (labels ((list-all-objects (module)<br> (if (eql (mk::component-type module) :file)<br> (list (mk::component-full-pathname module :binary))<br>
(apply #'append (mapcar #'list-all-objects (mk::component-components module))))))<br> (let* ((files (list-all-objects (mk:find-system 'maxima))))<br> #+msvc<br> (progn<br> (c::build-static-library "binary-ecl/maxima-lib" :lisp-files (print files))<br>
(let ((c::*ld-format* (concatenate 'string c::*ld-format* " /LIBPATH:binary-ecl")))<br> (c::build-fasl "binary-ecl/maxima" :lisp-files '(maxima-lib))))<br> #+cygwin<br> (c::build-fasl "binary-ecl/maxima" :lisp-files files)<br>
#-(or cygwin msvc)<br> (let ((obj (mapcar #'(lambda (p)<br> ;; Convert dir/foo.fas to dir/foo.o<br> (make-pathname :type "o" :defaults p))<br> files)))<br>
[.... ]<br></font><br>It is immediately obvious that the code for cygwin is too short to do anything useful. A possible fix is to remove the line #+cygwin and the following line and change #-(or cygwin msvc) to #-msvc However I can not guarantee that there are no other problems left.<br>
<br>Please note that this is not directly related to ECL.<br><br>Juanjo<br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>