cvs commit: fptools/ghc/compiler/main CodeOutput.lhs
DriverPipeline.hs DynFlags.hs Finder.lhs HscMain.lhs Main.hs
Simon Marlow
simonmar at microsoft.com
Fri Oct 28 11:22:40 EDT 2005
simonmar 2005/10/28 08:22:39 PDT
Modified files:
ghc/compiler/main CodeOutput.lhs DriverPipeline.hs
DynFlags.hs Finder.lhs HscMain.lhs
Main.hs
Log:
Add -stubdir option to control location of generated stub files. Also
do some clean up while I'm here - remove hscStubCOut/hscStubHOut from
DynFlags, and add
mkStubPaths :: DynFlags -> Module -> ModLocation -> (FilePath,FilePath)
to Finder. (this seemed better than caching the stub paths in every
ModLocation, because they are rarely needed and only present in home
modules, and are easily calculated from other available information).
-stubdir behaves in exactly the same way as -odir and -hidir.
Revision Changes Path
1.63 +38 -26 fptools/ghc/compiler/main/CodeOutput.lhs
1.211 +11 -15 fptools/ghc/compiler/main/DriverPipeline.hs
1.16 +25 -18 fptools/ghc/compiler/main/DynFlags.hs
1.86 +36 -4 fptools/ghc/compiler/main/Finder.lhs
1.227 +6 -5 fptools/ghc/compiler/main/HscMain.lhs
1.157 +1 -1 fptools/ghc/compiler/main/Main.hs
More information about the Cvs-ghc
mailing list