[GHC] #8414: ghc-pkg prevents dynamic library only packages
GHC
ghc-devs
Sat Oct 5 16:32:41 UTC 2013
#8414: ghc-pkg prevents dynamic library only packages
------------------------------------+-------------------------------------
Reporter: AndreasVoellmy | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: ghc-pkg | Version:
Keywords: | Operating System: Unknown/Multiple
Architecture: Unknown/Multiple | Type of failure: Other
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: |
------------------------------------+-------------------------------------
GHC supports compiling Haskell libraries as dynamic libraries and building
executables against dynamic libraries. GHCi seems to support loading
modules from dynamic libraries, too. So it would seem that it should be
possible to have packages that only include dynamic libraries, omitting
the .a and .o files typically generated.
cabal-install allows building dynamic libraries only, for example with the
command "cabal install --disable-library-vanilla --enable-shared
--disable-library-profiling". However, ghc-pkg register refuses to install
the package without the .a files present. This seems to be a bug with
ghc-pkg.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8414>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list