[Hackage] #600: Cabal should use -dynamic linking for
executable when package configured --enable-shared
Hackage
trac at galois.com
Tue Jan 26 09:25:08 EST 2010
#600: Cabal should use -dynamic linking for executable when package configured
--enable-shared
----------------------------+-----------------------------------------------
Reporter: juhp | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Cabal-1.8
Component: Cabal library | Version: HEAD
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: Linux |
----------------------------+-----------------------------------------------
Comment(by juhp):
Replying to [comment:7 KrzysztofSkrzetnicki]:
> It does, actually. I've moved executable to a different directory to
force GHC to use library installed in the system
Hehe, I think we agree on all points and facing the same problem: bin
packages work but not binlib. :)
But that's a good workaround for forcing dynamic for binlib though - maybe
I should use it in some fedora packages for now.
> > Have you tried dynamic and shared without profiling?
:
> It's definitely statical.
I meant something like
{{{cabal install --disable-library-profiling --enable-shared --ghc-
option=-dynamic}}}
for your binlib package - dunno if {{{--disable-executable-profiling}}} is
needed too.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/600#comment:8>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list