Changes between Version 8 and Version 9 of Building/Installing


Ignore:
Timestamp:
May 18, 2009 11:04:34 AM (6 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Installing

    v8 v9  
    5656   passing it `-B<libdir>`, and the rest of the command-line arguments.  All the other files that GHC 
    5757   needs are found by reading the `package.conf` file. 
     58 
     59== Relocating a GHC installation == 
     60 
     61On Windows, because GHC finds its files relative to itself, the whole installed tree can be relocated elsewhere in the filesystem, and everything will continue to work (except that if there are shortcuts or links from elsewhere, such as start menu items, these will need to be updated to point to the new location). 
     62 
     63On Unix, GHC installations contain hardcoded paths in the `package.conf` file and also in the wrapper scripts for `ghc` and `ghc-pkg` in `$bindir`.  So relocating the bits of a GHC installation on a Unix system is much harder; these paths would have to be updated manually.