-import SysTools ( getPackageConfigPath, initSysTools, cleanTempFiles )
-import Packages ( showPackages )
-
-import DriverPipeline ( GhcMode(..), doLink, doMkDLL, genPipeline,
- getGhcMode, pipeLoop, v_GhcMode
+import SysTools ( initSysTools, cleanTempFiles, normalisePath )
+import Packages ( dumpPackages, initPackages, haskell98PackageId, PackageIdH(..) )
+import DriverPipeline ( staticLink, doMkDLL, compileFile )
+import DriverState ( isLinkMode, isMakeMode, isInteractiveMode,
+ isCompManagerMode, isInterpretiveMode,
+ buildStgToDo, findBuildTag, unregFlags,
+ v_GhcMode, v_GhcModeFlag, GhcMode(..),
+ v_Keep_tmp_files, v_Ld_inputs, v_Ways,
+ v_Output_file, v_Output_hi,
+ verifyOutputFiles, v_NoLink