#4387: Huge executables with GHC 7
----------------------------------+-----------------------------------------
    Reporter:  daniel.is.fischer  |        Owner:  igloo
        Type:  bug                |       Status:  new  
    Priority:  highest            |    Milestone:  7.0.1
   Component:  Compiler           |      Version:  7.1  
    Keywords:  executable size    |     Testcase:       
   Blockedby:                     |   Difficulty:       
          Os:  Linux              |     Blocking:       
Architecture:  x86                |      Failure:  Other
----------------------------------+-----------------------------------------

Comment(by josef):

 It seems to me that what is really needed is a form of compile time
 imports. Some way to indicate that an imported module will only be used at
 compile time, for instance to use annotations or to generate code using
 Template Haskell.

 Jonas Almström Duregård bumped in to the same problem when using Template
 Haskell. He needed to import modules for use only at compile time but they
 where also linked in when the binary was created. Link to email:
 http://www.haskell.org/pipermail/glasgow-haskell-
 users/2010-September/019211.html

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4387#comment:26>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to