[Hackage] #398: better support for static linking

Hackage trac at galois.com
Sat Nov 8 10:17:49 EST 2008


#398: better support for static linking
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:         
      Type:  enhancement    |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.2.3.0
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.3  
  Platform:                 |  
----------------------------+-----------------------------------------------
 Generating statically linked binaries on different platforms requires a
 bit of knowledge about what flags to pass to ghc. It would be nice to just
 be able to `cabal configure --enable-static-executable` or something and
 have that pass the extra `-optl-static` and whatever ghc options are
 required.

 If it's not possible to generate static binaries it should make some
 attempt at explaining why.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/398>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list