[MLton-commit] r6691

Wesley Terpstra wesley at mlton.org
Thu Aug 7 11:37:16 PDT 2008


The batch file shouldn't link in -lgdtoa since main.fun does this too.


----------------------------------------------------------------------

U   mlton/trunk/package/mingw/mlton.bat

----------------------------------------------------------------------

Modified: mlton/trunk/package/mingw/mlton.bat
===================================================================
--- mlton/trunk/package/mingw/mlton.bat	2008-08-07 17:09:20 UTC (rev 6690)
+++ mlton/trunk/package/mingw/mlton.bat	2008-08-07 18:37:16 UTC (rev 6691)
@@ -29,8 +29,7 @@
 set ccopts=-O1 -fno-strict-aliasing -fomit-frame-pointer -w
 set ccopts=%ccopts% -fno-strength-reduce -fschedule-insns -fschedule-insns2
 set ccopts=%ccopts% -malign-functions=5 -malign-jumps=2 -malign-loops=2
-set linkopts=-lgdtoa -lm
-set linkopts=%linkopts% -lgmp -lws2_32 -lkernel32 -lpsapi -lnetapi32
+set linkopts=--lm -lgmp -lws2_32 -lkernel32 -lpsapi -lnetapi32
 
 %mlton% @MLton load-world %world% ram-slop 0.5 -- %lib% -cc %cc% -cc-opt-quote "-I%lib%\include" -cc-opt "%ccopts%" -mlb-path-map "%lib%\mlb-path-map" -link-opt "%linkopts%" %*
 goto :eof




More information about the MLton-commit mailing list