Problems with COBYLA under gcl/windows



I was having a look at the new COBYLA package under gcl/windows.  
Interesting stuff

First problem is that share/cobyla is not in the search path, which is 
still hard-coded on this platform.  Easily fixed with patch (below) that 
I will commit shortly.

Second problem is that it won't load.  It seems to be looking for 
trstlp.lsp rather than trstlp.lisp.  I tried to understand the problem 
by looking at some other share packages that use f2cl, but I can't work 
it out. 

The error message is:

(%i1) load("fmin_cobyla.mac");

Loading 
C:/msys/1.0/local/src/maxima-20101010/binary/binary-gcl/share/cobyla/cobyla-package.o
start address -T 11128fd0 Finished loading 
C:/msys/1.0/local/src/maxima-20101010/binary/binary-gcl/share/cobyla/cobyla-package.o

;      - Source file
;        
/msys/1.0/local/src/maxima-20101010/share/cobyla/lisp/trstlp.lsp and
;        binary file
;        
C:/msys/1.0/local/src/maxima-20101010/binary/binary-gcl/share/cobyla/lisp/trstlp.o
;        not found, not loading.
Load failed for 
C:/msys/1.0/local/src/maxima-20101010/share/cobyla/load-cobyla.lisp
 -- an error. To debug this try: debugmode(true);


Index: init-cl.lisp
===================================================================
RCS file: /cvsroot/maxima/maxima/src/init-cl.lisp,v
retrieving revision 1.160
diff -u -r1.160 init-cl.lisp
--- init-cl.lisp        8 Jun 2010 05:01:52 -0000       1.160
+++ init-cl.lisp        11 Oct 2010 23:29:43 -0000
@@ -382,6 +382,8 @@
     "contrib/vector3d"
     "contrib/unit"
     "contrib/Zeilberger"
+    "cobyla"
     "diff_form"
     "diffequations"
     "dynamics"