/cygdrive/d/xml
.
cd /cygdrive/d/xml tar -zxvf fxp.tar.gz cd fxp-1.4.6
Makefile
to reflect the situation at your site.
Change the line specifying where to install the fxp binaries and
libraries from
PREFIX = /home/berlea/xmlsoftto something like
PREFIX = /cygdrive/d/xmlChange the line specifying the path to the SML/NJ executable to the correct path to the executable, from
SML_BINDIR = /usr/share/smlnj/binto something like
SML_BINDIR = /cygdrive/d/smlnj-110.43/binFinally, the Cygwin version of
mkdirhier
is buggy. Replace
the line
MKDIRHIER = mkdirhierwith
MKDIRHIER = mkdir -p
.arch-n-opsys
that reports the processor architecture and
operating system. The Win32 versions do not include this shell script.
fxp
's build process relies on the presence of this script.
The easiest thing to do is place a script in the same directory as your
sml
binary.
#!/bin/sh # # .arch-n-opsys -- get architecture and system info # This file is hacked to run with the Windows version echo "ARCH=x86; OPSYS=win32; HEAP_SUFFIX=x86-win32"Call this file
.arch-n-opsys
. Notice that it's really a
big cheat. Make sure that it is executable
chmod a+x .arch-n-opsys
make
make install