[project @ 2002-07-03 15:15:24 by sof]
authorsof <unknown>
Wed, 3 Jul 2002 15:15:25 +0000 (15:15 +0000)
committersof <unknown>
Wed, 3 Jul 2002 15:15:25 +0000 (15:15 +0000)
Remove -fcore option, a NOP. (The Core frontend is enabled by feeding
GHC .hcr files.)

ghc/compiler/main/CmdLineOpts.lhs
ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/DriverPipeline.hs

index 2f6c6a6..fd17c53 100644 (file)
@@ -335,7 +335,6 @@ data HscLang
   | HscAsm
   | HscJava
   | HscILX
-  | HscCore
   | HscInterpreted
   | HscNothing
     deriving (Eq, Show)
index e0196f2..0e2763b 100644 (file)
@@ -1,5 +1,5 @@
 -----------------------------------------------------------------------------
--- $Id: DriverFlags.hs,v 1.97 2002/06/12 22:04:26 wolfgang Exp $
+-- $Id: DriverFlags.hs,v 1.98 2002/07/03 15:15:24 sof Exp $
 --
 -- Driver flags
 --
@@ -433,7 +433,6 @@ dynamic_flags = [
   ,  ( "fvia-c",       NoArg (setLang HscC) )
   ,  ( "fvia-C",       NoArg (setLang HscC) )
   ,  ( "filx",         NoArg (setLang HscILX) )
-  ,  ( "fcore",                NoArg (setLang HscCore) )
 
        -- "active negatives"
   ,  ( "fno-implicit-prelude",  NoArg (setDynFlag Opt_NoImplicitPrelude) )
@@ -565,8 +564,9 @@ machdepCCOpts
       --   the fp (%ebp) for our register maps.
        = do n_regs <- dynFlag stolen_x86_regs
             sta    <- readIORef v_Static
-            return ( [ if sta then "-DDONT_WANT_WIN32_DLL_SUPPORT" else "",
-                        if suffixMatch "mingw32" cTARGETPLATFORM then "-mno-cygwin" else "" ],
+            return ( [ if sta then "-DDONT_WANT_WIN32_DLL_SUPPORT" else ""
+--                    , if suffixMatch "mingw32" cTARGETPLATFORM then "-mno-cygwin" else "" 
+                     ],
                      [ "-fno-defer-pop", "-fomit-frame-pointer",
                        "-DSTOLEN_X86_REGS="++show n_regs ]
                    )
index 0cb43c3..c2d4235 100644 (file)
@@ -155,11 +155,6 @@ genPipeline todo stop_flag persistent_output lang (filename,suffix)
                | split           -> not_valid
                | otherwise       -> [ Hsc, HCc, As ]
 
-       HscCore | split && mangle -> [ Hsc, HCc, Mangle, SplitMangle, SplitAs ]
-               | mangle          -> [ Hsc, HCc, Mangle, As ]
-               | split           -> not_valid
-               | otherwise       -> [ Hsc, HCc, As ]
-
        HscAsm  | split           -> [ Hsc, SplitMangle, SplitAs ]
                | otherwise       -> [ Hsc, As ]