-----------------------------------------------------------------------------
--- $Id: DriverState.hs,v 1.7 2000/10/26 16:21:02 sewardj Exp $
+-- $Id: DriverState.hs,v 1.9 2000/10/27 14:56:00 sewardj Exp $
--
-- Settings for the driver
--
-----------------------------------------------------------------------------
-- Global compilation flags
-GLOBAL_VAR(v_Static_hsc_opts, [], [String])
-
-- location of compiler-related files
GLOBAL_VAR(v_TopDir, clibdir, String)
GLOBAL_VAR(v_Inplace, False, Bool)
GLOBAL_VAR(v_Verbose, False, Bool)
is_verbose = do v <- readIORef v_Verbose; if v then return "-v" else return ""
--- where to keep temporary files
-GLOBAL_VAR(v_TmpDir, cDEFAULT_TMPDIR, String )
-
-- Keep output from intermediate phases
GLOBAL_VAR(v_Keep_hi_diffs, False, Bool)
GLOBAL_VAR(v_Keep_hc_files, False, Bool)