Changeset 5577

Show
Ignore:
Timestamp:
07/13/05 19:30:51 (3 years ago)
Author:
dudley
svk:copy_cache_prev:
7591
Message:

Document PREFIX and more make targets in INSTALL, plus a little English-fu.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • INSTALL

    r5517 r5577  
    2626    make install 
    2727 
     28To change the installation location, pass PREFIX=/opt/wherever to  
     29Makefile.PL like so: 
     30 
     31    perl Makefile.PL PREFIX=/your/prefix/here 
     32 
     33XXX NOTE!!!!!!!! 
     34PREFIX doesn't actually work right now. So ignore what I just said. But if 
     35it did work, that's how you would do it. 
     36 
    2837ENVIRONMENT VARIABLES 
    2938--------------------- 
     
    4049PUGS_EMBED variable. For example:  
    4150  
    42     export PUGS_EMBED="perl5 parrot" 
    43     setenv PUGS_EMBED "perl5 parrot" 
     51    export PUGS_EMBED="perl5 parrot" (bash) 
     52    setenv PUGS_EMBED "perl5 parrot" (csh) 
    4453 
    4554To build with an embedded parrot interpreter, make sure the PUGS_EMBED  
     
    5261MAKE TARGETS 
    5362------------ 
     63 
     64The default make target builds an optimized Pugs. This means that Pugs will 
     65be slower to compile, but will run much faster. To disable this, run: 
     66     
     67    make unoptimized  # unoptimised will work, too. We're not picky. 
    5468 
    5569To run the test suite: 
     
    6882 
    6983    make pirsmoke 
    70      
     84 
     85To turn on profiling in the GHC compiler: 
     86  
     87    make profiled 
     88 
     89 
    7190CAVEATS FOR GCC 4.0 USERS 
    7291------------------------- 
     
    81100    sudo gcc_select 3.3 
    82101 
    83 Then recompiling Pugs using a clean tree.  Other users of GCC 4.0 systems 
    84 may also need to switch to use GCC 3.3 to compile Pugs at this moment. 
     102Then recompile Pugs using a clean tree.  Other users of GCC 4.0 systems 
     103may also need to switch to GCC 3.3 to compile Pugs for now. 
    85104 
    86105CAVEATS FOR x86_64 MACHINES 
     
    129148Note that this will take a long time, and it may not work. 
    130149 
    131 First, check if a sufficiently recent "Stable" source snapshot is available 
    132 (as of 15-May, there isn't one yet).  If not, you might try a "HEAD" snapshot 
    133 (it is not clear anyone has actually tried this).  Otherwise, use might use 
    134 cvs to grab your own snapshot: 
     150First, check to see if a sufficiently recent "Stable" source snapshot is  
     151available (as of 15-May, there isn't one yet).  If not, you might try a "HEAD"  
     152snapshot (it is not clear that anyone has actually tried this).  Otherwise, you  
     153might use cvs to grab your own snapshot: 
    135154 
    136155    CVSROOT=:pserver:anoncvs@glass.cse.ogi.edu:/cvs; export CVSROOT 
    137     cvs login     # passord cvs 
     156    cvs login     # password cvs 
    138157    cvs checkout fpconfig 
    139158    cd fptools