Changes between Version 13 and Version 14 of Building/Using


Ignore:
Timestamp:
Aug 17, 2008 3:46:05 PM (6 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Using

    v13 v14  
    409409 {{{boot}}}:: 
    410410  does the one-off preparation required to get ready for the real 
    411   work.  Notably, it does {{{make depend}}} in all directories that 
    412   contain programs.  It also builds the necessary tools for 
    413   compilation to proceed. 
     411  work, e.g. building the module dependency graph. 
    414412  [[br]][[br]] 
    415413  Invoking the {{{boot}}} target explicitly is not normally necessary. 
    416414  From the top-level directory, invoking {{{make}}} causes {{{make boot}}} 
    417   to be invoked in various subdirectories first, in the right 
     415  to be invoked in various subdirectories, in the right 
    418416  order.  Unless you really know what you are doing, it is best to 
    419417  always say {{{make}}} from the top level first. 
     
    439437  installs the documentation. Otherwise behaves just like 
    440438  {{{install}}}. 
    441  
    442  {{{uninstall}}}:: 
    443   reverses the effect of {{{install}}} (WARNING: probably doesn't 
    444   work). 
    445439 
    446440 {{{clean}}}:: 
     
    491485  file {{{Baz.hi}}} generated by compiling module {{{Baz}}}.  The 
    492486  {{{.depend}}} file is automatically included by every Makefile. 
     487  Now that we are using Cabal for most of the building, most directories 
     488  don't support the `depend` target any more. Use `boot` instead. 
    493489 
    494490Some {{{Makefile}}}s have targets other 
     
    501497without doing {{{make install}}} first, you can run the in-place 
    502498driver script.  To run the stage 1 compiler, use 
    503 {{{compiler/stage1/ghc-inplace}}}, stage 2 is 
    504 {{{compiler/stage2/ghc-inplace}}}, and so on. 
    505  
    506 Do ''NOT'' use {{{compiler/stage1/ghc}}}, or 
    507 {{{compiler/stage1/ghc-6.xx}}}, as these are the scripts intended for 
    508 installation, and contain hard-wired paths to the installed libraries, 
    509 rather than the libraries in the build tree. 
    510  
    511 For darcs version, use {{{ghc/stage1-inplace/ghc}}} etc. 
    512 Utils like {{{ghc-pkg}}} can be found under 
    513 {{{utils/ghc-pkg/install-inplace/bin/ghc-pkg}}} etc. 
     499`ghc/stage1-inplace/ghc`, stage 2 is 
     500`ghc/stage2-inplace/ghc`, and so on. 
     501 
     502Utils like `ghc-pkg` can be found under 
     503`utils/ghc-pkg/install-inplace/bin/ghc-pkg` etc. 
    514504 
    515505== Fast Making ==