
#642: [ghc-6.12] support dynamic linking of executables ----------------------------+----------------------------------------------- Reporter: juhp | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Linux | ----------------------------+----------------------------------------------- Description changed by juhp: Old description:
Currently Cabal does not support dynamical linking of executables against Haskell shared libraries.
A workaround is to configure without profiling and pass "--ghc-option=-dynamic" to cabal configure.
Configuring with -dynamic and -p links to cabal builds failing with not being able to find p_dyn libraries.
[It would be nice if 1.8 could be added to the "Version" selector and 6.12.1 to the "GHC Version" list here in trac.]
New description: Currently Cabal does not support dynamical linking of executables against Haskell shared libraries. A workaround is to configure without profiling and pass "--ghc-option=-dynamic" to cabal configure. Configuring with -dynamic and -p leads to cabal builds failing with not being able to find p_dyn libraries. [It would be nice if 1.8 could be added to the "Version" selector and 6.12.1 to the "GHC Version" list here in trac.] -- -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/642#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects