One new option:
-static produce code for use in statically linked binaries.
The driver makes sure that this option is on for
platforms that doesn't support DLLs. Leaving it
off won't have any bad effects though.
opt_SccGroup,
opt_SccProfilingOn,
opt_SourceUnchanged,
+ opt_Static,
opt_StgDoLetNoEscapes,
opt_Parallel,
opt_SourceUnchanged = lookUp SLIT("-fsource-unchanged")
opt_StgDoLetNoEscapes = lookUp SLIT("-flet-no-escape")
opt_Parallel = lookUp SLIT("-fparallel")
+opt_Static = lookUp SLIT("-static")
opt_SccGroup = lookup_str "-G="
opt_Verbose = lookUp SLIT("-v")
import AsmCodeGen ( dumpRealAsm, writeRealAsm )
#endif
-import OccName ( Module, moduleString )
+import Module ( Module, moduleString )
import AbsCSyn ( absCNop )
import AbsCUtils ( flattenAbsC )
import CmdLineOpts
-- ******* TYPECHECKER
show_pass "TypeCheck" >>
_scc_ "TypeCheck"
- typecheckModule tc_uniqs rn_name_supply rn_mod >>= \ maybe_tc_stuff ->
+ typecheckModule tc_uniqs rn_name_supply iface_file_stuff rn_mod
+ >>= \ maybe_tc_stuff ->
case maybe_tc_stuff of {
Nothing -> ghcExit 1; -- Type checker failed