Changes between Version 31 and Version 32 of Building/Using


Ignore:
Timestamp:
May 28, 2009 3:48:33 PM (5 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Using

    v31 v32  
    478478This is like `make stage=2`, except that it omits the dependency-building phase.  If you have changed the imports in any modules, those new dependencies will not be taken into account by the build system, so you might get a build failure.  On the other hand, this shortcut usually works and the few seconds it saves can make GHC development a much more interactive experience.  There are also `make 1` and `make 3` targets to make the stage 1 and stage 3 compilers respectively.  These targets work in both the `ghc` and `compiler` subdirectories. 
    479479 
    480 === Building a single component in general === 
     480=== Building a single sub-component === 
    481481 
    482482Each subdirectory of the source tree has a 
     
    513513command at the top of the tree of the form `make clean_libraries/base`. 
    514514 
    515 == Building a single file == 
     515=== Building a single file === 
    516516 
    517517It's possible to tell make to build a single file, from any subdirectory in the tree.  For example, suppose I want to build just the module `Control.Monad` in the `base` package, I can do it like this: