[MLton-commit] r6841
Wesley Terpstra
wesley at mlton.org
Sun Sep 7 10:26:15 PDT 2008
GMP 4.1 is too old and has known problems with MLton. Found a better gmp for building on the mingw cross compiler (sf.net). Convert the zip into a tar.gz.
----------------------------------------------------------------------
U mlton/trunk/package/mingw/Makefile
----------------------------------------------------------------------
Modified: mlton/trunk/package/mingw/Makefile
===================================================================
--- mlton/trunk/package/mingw/Makefile 2008-09-07 16:37:41 UTC (rev 6840)
+++ mlton/trunk/package/mingw/Makefile 2008-09-07 17:26:15 UTC (rev 6841)
@@ -7,7 +7,7 @@
MINGW_BINUTILS=$(TARDIR)/binutils-2.17.50-20060824-1.tar.gz
MINGW_GCC=$(TARDIR)/gcc-core-3.4.5-20060117-1.tar.gz
MINGW_MSYS=$(TARDIR)/msysCORE-1.0.11-2007.01.19-1.tar.bz2
-MINGW_GMP=$(TARDIR)/gmp-static-mingw-4.1.tar.gz
+MINGW_GMP=$(TARDIR)/mingw-gmp-4.2.3-1.tar.gz
MINGW_WXS=mingw-runtime.wxs w32api.wxs binutils.wxs gcc.wxs gmp.wxs msys.wxs
MINGW_WIXOBJ=$(patsubst %.wxs,%.wixobj,$(MINGW_WXS))
@@ -56,10 +56,8 @@
mv $@.tmp $@
gmp.wxs: $(MINGW_GMP) self.wxs
- tar tzf $< | sed 's@^gmp/@@' | ./files2wix-component GMP > $@.tmp
- tar xzf $(MINGW_GMP)
- cp -a gmp/* staging
- rm -rf gmp
+ tar tzf $< | ./files2wix-component GMP > $@.tmp
+ cd staging; tar xzf $(MINGW_GMP)
mv $@.tmp $@
self.wxs: files2wix-component.exe
More information about the MLton-commit
mailing list