Make -dynamic a proper way, so we read the .dyn_hi files
authorSimon Marlow <marlowsd@gmail.com>
Thu, 20 Aug 2009 12:12:08 +0000 (12:12 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 20 Aug 2009 12:12:08 +0000 (12:12 +0000)
commit740618f2b7d822f53528d271ccfb617c8ce84c55
treeff756fcb49ae44d8d2ecf9ee28440db9ea9526c3
parentb0758d03f1a00ab0adf57f8157602ef22e8cdd13
Make -dynamic a proper way, so we read the .dyn_hi files
Also, I cleaned up some of the way-related infrastructure, removing
two global variables.

There's more that could be done here, but it's a start.  The way flags
probably don't need to be static any more.
compiler/ghci/Linker.lhs
compiler/iface/BinIface.hs
compiler/main/DynFlags.hs
compiler/main/Packages.lhs
compiler/main/StaticFlagParser.hs
compiler/main/StaticFlags.hs