[GHC] #3783: Allow --make and --fno-code

GHC trac at galois.com
Wed Dec 30 09:10:04 EST 2009


#3783: Allow --make and --fno-code
------------------------------+---------------------------------------------
  Reporter:  duncan           |          Owner:                  
      Type:  feature request  |         Status:  new             
  Priority:  normal           |      Milestone:  6.14.1          
 Component:  Compiler         |        Version:  6.12.1          
Resolution:                   |       Keywords:                  
Difficulty:                   |             Os:  Unknown/Multiple
  Testcase:                   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------
Comment (by duncan):

 Replying to [comment:2 simonmar]:

 > The main problem with `-fno-code` is that Template Haskell code cannot
 be compiled this way, for obvious reasons.  Haddock has to go back and
 compile things to object code if TH is needed (I don't recall how it
 figures out that it needs to do this, though).

 Does it have to be object code? Could it not compile things to bytecode,
 either pre-emptively or just in the case of -XTemplateHaskell?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3783#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list