-fno-code shouldn't be a mode.
authorLemmih <lemmih@gmail.com>
Sat, 18 Mar 2006 17:17:28 +0000 (17:17 +0000)
committerLemmih <lemmih@gmail.com>
Sat, 18 Mar 2006 17:17:28 +0000 (17:17 +0000)
commit851154f02d724ed74b0f5378d92603157b3ea69a
treeccf8ec0cac8b43837dbf3c7a4b02aef528c04751
parent7f24ae51ed36c5c0308a2d0de23e243f32a0043c
-fno-code shouldn't be a mode.

I've removed -fno-code from Main to make it work
equally well with --make and -c.
I've also allowed it not to write hi files unless
-fwrite-iface is given.
ghc/compiler/main/CodeOutput.lhs
ghc/compiler/main/DriverPipeline.hs
ghc/compiler/main/DynFlags.hs
ghc/compiler/main/HscMain.lhs
ghc/compiler/main/Main.hs