X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdriver%2Fghc.lprl;h=d6bf89fe5d1ddc8c9b70a6fc7c8ff26d4158d0a4;hb=bbc5260c1218d6badcb94d60d17f0fd1afc1190e;hp=e3eb56bbe8ed42d93dc15234c00cc8947e6b62a9;hpb=de896403dfe48bc999e5501eb8b517624dd2e5d4;p=ghc-hetmet.git diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index e3eb56b..d6bf89f 100644 --- a/ghc/driver/ghc.lprl +++ b/ghc/driver/ghc.lprl @@ -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"; } @@ -2553,7 +2555,7 @@ sub add_syslib { : "$TopPwd/hslibs/data" ) , '' # where to find the cbits archive to use when linking - , '' # Syslib dependencies + , 'lang' # Syslib dependencies , '' # extra ghc opts , '' # extra cc opts , '' # extra ld opts @@ -2607,7 +2609,7 @@ sub add_syslib { [ # where to slurp interface files from ( $INSTALLING ? "$InstLibDirGhc/imports/text" - : "$TopPwd/hslibs/text:$TopPwd/hslibs/text/html:$TopPwd/hslibs/text/haxml/lib" + : "$TopPwd/hslibs/text:$TopPwd/hslibs/text/html:$TopPwd/hslibs/text/haxml/lib:$TopPwd/hslibs/text/parsec" ) , # where to find the archive to use when linking ( $INSTALLING