Ticket #398 (new enhancement)

Opened 5 years ago

Last modified 17 months ago

better support for static linking

Reported by: duncan Owned by:
Priority: normal Milestone: Cabal-1.8
Component: Cabal library Version: 1.2.3.0
Severity: normal Keywords:
Cc: Difficulty: easy (<4 hours)
GHC Version: 6.8.3 Platform:

Description

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.

Change History

Changed 4 years ago by duncan

  • difficulty changed from normal to easy (<4 hours)
  • milestone set to Cabal-1.8

Should not be too hard at least on common platforms. Just needs a bit of testing. Standalone task for some volunteer.

Changed 17 months ago by elga

Changed 17 months ago by edouard

Termine un parcours du combattant ! les procedures, aujourd'hui tres simplifiees, sont accessibles en quelques clics seulement.  simyo

Note: See TracTickets for help on using tickets.