maxima for windows with modern gcc/gcl



On 18/01/2012 4:23 AM, Camm Maguire wrote:
> Greetings!  Great to hear of your progress.  BTW, I build frequently
> under latest wine/mingw packages in Debian, together with
> maxima/acl2/axiom, without issue.  Had a native windows box too recently
> and got things working.
>
> axiom needs xdr.  Latest glibc moves the functions, and my configure fix
> was too stringent.  How about this:
Thanks.  That works for me on windows XP with latest mingw/msys.

What XDR package do you use?  I have "successfully" built gcl using 
portablexdr-4.9.1 from http://people.redhat.com/~rjones/portablexdr/.
success == gcl configures (with a trivial patch below) and builds.

$ cvs diff -u configure.in
Index: configure.in
===================================================================
RCS file: /sources/gcl/gcl/configure.in,v
retrieving revision 1.112.4.1.2.2.2.47.2.3.2.1.4.2.4.2.4.72
diff -u -r1.112.4.1.2.2.2.47.2.3.2.1.4.2.4.2.4.72 configure.in
--- configure.in        18 Jan 2012 14:52:07 -0000      
1.112.4.1.2.2.2.47.2.3.2.1.4.2.4.2.4.72
+++ configure.in        20 Jan 2012 03:36:48 -0000
@@ -1050,7 +1050,8 @@
     AC_CHECK_FUNC(xdr_double,AC_DEFINE(HAVE_XDR),
            AC_CHECK_LIB(tirpc,xdr_double,AC_DEFINE(HAVE_XDR) 
TLIBS="$TLIBS -ltirpc",
            AC_CHECK_LIB(rpc,xdr_double,AC_DEFINE(HAVE_XDR) 
TLIBS="$TLIBS -lrpc",
-          AC_CHECK_LIB(oncrpc,xdr_double,AC_DEFINE(HAVE_XDR) 
TLIBS="$TLIBS -loncrpc"))))
+          AC_CHECK_LIB(oncrpc,xdr_double,AC_DEFINE(HAVE_XDR) 
TLIBS="$TLIBS -loncrpc",
+          AC_CHECK_LIB(portablexdr,xdr_double,AC_DEFINE(HAVE_XDR) 
TLIBS="$TLIBS -lportablexdr")))))
  fi

  case $use in


I still have problems under windows 7 on both a 32-bit and 64-bit  
system. The simplest of configure tests fail, so it probably isn't a gcl 
issue.