[Hackage] #600: Cabal should use -dynamic linking for
executable when package configured --enable-shared
Hackage
trac at galois.com
Mon Jan 25 22:35:26 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:4 KrzysztofSkrzetnicki]:
> But I suspect that fixing #600 would solve the issue with cabal-install
as well, right?
I think so too.
Replying to [comment:5 KrzysztofSkrzetnicki]:
> It should also be noted that simply building with {{{ghc --make -dynamic
program.hs}}} works correctly
Right but that does not give you dynamic linking to your library, I think?
> and so does {{{cabal install --enable-shared}}} with libraries.
and no dynamic executable in this case.
Have you tried dynamic and shared without profiling?
(I guess the Cabal version metadata in trac needs updating
I hope this can be fixed in 1.10.)
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/600#comment:6>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list