A windows binary distribution



Here is the start of a windows binary distribution based on maxima-5.9.

Raw materials are:
 - full cygwin distribution
 - mingw-1.1 distribution for gcc
 - gcl cvs
 - maxima cvs
 - utexas maxima-5.5 windows binary
 - windows freewrap5.0 from freewrap.sourceforge.com

Build mingw gcl and maxima using Mike Thomas's recipe
Install freewrap and maxima-5.5 binary somewhere
Adjust paths in attached script, then run it to put all the pieces together
>From the windows gui create a shortcut in root of binary distribution,
assumed to be whatever, with
  - name: xmaxima
  - target: whatever\src\xmaxima.exe
  - Start in: whatever\
  - Icon: whatever\src\max.ico

This works about as well as the 5.5 binary, but is obviously incomplete.  
It doesn't include any of the maxima modules, much documentation, etc.
Only two files are taken from the 5.5 binary.  These are winkill.exe
and tclwinkill.dll.  I have no idea where these are from.

Enough for tonight.



####################### winbuild.sh ##########################
#!/bin/sh
#
# Create a windows binary distribution - just working notes
# Rough proof of concept
#
# David Billinghurst <David.Billinghurst@riotinto.com>
# 26 Mar 2002

BINDIR=/tmp/maxima-5.9
BINDIR_55=/cygdrive/c/Programs/maxima
FREEWRAP=/cygdrive/c/Programs/freewrap5.0
MAXIMA_BUILD=/cygdrive/c/temp/maxima
#
mkdir ${BINDIR}
mkdir ${BINDIR}/src
mkdir ${BINDIR}/doc
mkdir ${BINDIR}/demo

# Populate to root directory
cp ${MAXIMA_BUILD}/archive/maxima.gif ${BINDIR}
cp ${FREEWRAP}/tclpip83.dll ${BINDIR}
cp ${MAXIMA_BUILD}/interfaces/xmaxima/intro.html ${BINDIR}

# Populate demo
cp ${MAXIMA_BUILD}/demo/cf.dem ${BINDIR}/demo
cp ${MAXIMA_BUILD}/demo/ezgcd.dem ${BINDIR}/demo
cp ${MAXIMA_BUILD}/demo/macex.dem ${BINDIR}/demo

# Populate doc 
cp ${MAXIMA_BUILD}/interfaces/xmaxima/examples.html ${BINDIR}/doc
cp ${MAXIMA_BUILD}/interfaces/xmaxima/demos.html ${BINDIR}/doc
cp ${MAXIMA_BUILD}/interfaces/xmaxima/plotmaxima.html ${BINDIR}/doc
cp ${MAXIMA_BUILD}/demo/manual.demo ${BINDIR}/doc

# Populate src
cp ${MAXIMA_BUILD}/src/binary-gcl/maxima.exe ${BINDIR}/src/saved_maxima.exe
cp ${MAXIMA_BUILD}/src/binary-gcl/plot.o ${BINDIR}/src
cp ${MAXIMA_BUILD}/archive/src/server.lisp ${BINDIR}/src
cp ${MAXIMA_BUILD}/archive/src/max.ico ${BINDIR}/src
cp ${BINDIR_55}/src/tclwinkill.dll ${BINDIR}/src
cp ${BINDIR_55}/src/winkill.exe ${BINDIR}/src

(cd ${MAXIMA_BUILD}/interfaces/xmaxima;\
  cp xmaxima xmaxima.tcl;\
  ${FREEWRAP}/freewrap xmaxima.tcl -e;\
  rm xmaxima.tcl;\
  mv xmaxima.exe ${BINDIR}/src\
)