Changes between Version 6 and Version 7 of SharedLibraries


Ignore:
Timestamp:
Aug 2, 2007 9:33:20 AM (8 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SharedLibraries

    v6 v7  
    3535(3) stage2/ghc-inplace is linked statically. 
    3636 
     37(4) Cabal packages installed outside the system locations are static only. 
     38 
    3739This is attractive, but there are some drawbacks: 
    3840 
    3941 * we still need to build a distribution that uses shared libs.  Presumably we have to build both 
    4042   shared and static libs then. 
    41  
    4243 * the testsuite needs to build binaries against the shared libs for testing, without installing GHC. 
    43  
    4444 * we want the GHC binary in a shared-library installation to be dynamically linked, not statically linked. 
     45 * if there are some static-only libraries on the system, then all packages must have static versions, 
     46   because dynamic linking is all-or-nothing in GHC. 
    4547 
    4648== 2. Dynamic linking ==