We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8665709 commit 1851c4fCopy full SHA for 1851c4f
build-windows-dist.sh
@@ -0,0 +1,18 @@
1
+# mini script for building the relocatable Windows binary distribution.
2
+#
3
+# sh build-windows-dist.sh
4
5
+# NB. the Cabal that shipped with GHC 6.6 isn't enough for this, because it
6
+# is missing this patch:
7
8
+# Fri Oct 13 11:09:41 BST 2006 Simon Marlow <simonmar@microsoft.com>
9
+# * Fix getDataDir etc. when bindir=$prefix
10
11
+# So you need to use a more recent Cabal. GHC 6.6 is fine for building the
12
+# package, though.
13
+
14
+ghc --make Setup
15
+./Setup configure --prefix=`pwd`/install --bindir='$prefix' --libdir='$prefix' --datadir='$prefix'
16
+./Setup build
17
+./Setup install
18
+echo Now zip up `pwd`/install as "alex-<version>-Win32.zip"
0 commit comments