[project @ 2000-03-15 10:54:58 by simonmar]
[ghc-hetmet.git] / ghc / driver / ghc.lprl
index 88025b5..8cf6ffc 100644 (file)
@@ -1102,6 +1102,7 @@ sub setupLinkOpts {
           ,'-u', "${uscore}PrelException_stackOverflow_closure"
           ,'-u', "${uscore}PrelException_heapOverflow_closure"
           ,'-u', "${uscore}PrelException_NonTermination_static_closure"
+          ,'-u', "${uscore}PrelException_PutFullMVar_static_closure"
           ,'-u', "${uscore}__init_Prelude"
        ));
   if (!$NoHaskellMain) {
@@ -1859,7 +1860,8 @@ sub runLinker
     local($lnkr) = ( $Lnkr ) ? $Lnkr : $CcRegd;
 
     if ( ($Specific_output_file eq '') && 
-         ($TargetPlatform eq 'i386-unknown-cygwin32') ) {
+         ( ($TargetPlatform eq 'i386-unknown-cygwin32') ||
+          ($TargetPlatform eq 'i386-unknown-mingw32')) ) {
          $Specific_output_file = 'main.exe';
          print STDERR "Output file not specified, defaulting to \"main.exe\"\n";
     }