Ticket #398 (new enhancement)
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
Note: See
TracTickets for help on using
tickets.
