Changeset 2878

Show
Ignore:
Timestamp:
05/09/05 08:08:46 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
4437
Message:

* note our dependency on Parrot in README.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • README

    r2639 r2878  
    5959for GHC is available, it will take a very long time to build by yourself.  
    6060 
     61Pugs needs a Parrot installation to support Perl 6 Rules.  To install Parrot, 
     62follow the instructions at http://www.parrotcode.org/.  Binary builds for 
     63Win32 is available at http://jwcs.net/~jonathan/perl6/. 
     64 
     65For dynamic loading/inlining of Haskell modules, you should install the 
     66hs-plugin library, available here: 
     67 
     68    ftp://ftp.cse.unsw.edu.au/pub/users/dons/hs-plugins/snapshots/ 
     69 
    6170To install Pugs on your system, simply type this in the command line: 
    6271 
     
    6776    make install 
    6877 
    69 There is a problem on x86_64 (64 bit Athlon) machines.  See below. 
    70  
    7178Optionally you may use GHC environment variable to assign the ghc 
    7279executable path before you run "perl Makefile.PL", for example: 
     
    7582    setenv GHC ${HOME}/bin/ghc (csh) 
    7683 
    77 For dynamic loading/inlining of Haskell modules, you should install the 
    78 hs-plugin library, available here: 
     84CAVEATS FOR x86_64 MACHINES 
     85--------------------------- 
    7986 
    80     ftp://ftp.cse.unsw.edu.au/pub/users/dons/hs-plugins/snapshots/ 
     87GHC 6.4 has a garbage collector bug on x86_64 (64 bit Athlon) machines. 
     88Until GHC 6.4.1 is released, users on x86_64 may see crashes complaining 
     89of "strange objects".  A partial workaround is to avoid GC by requesting 
     90a large heap, using either command line arguments: 
     91 
     92    ./pugs +RTS -A200M -RTS 
     93 
     94or an environment variable: 
     95 
     96    GHCRTS='-A200M' 
     97 
     98These request a 200 MB heap, which is sufficient to run most programs. 
     99 
     100Running all tests unfortunately requires a lot more memory (perhaps 1000M). 
     101A possible alternative, which someone could explore and report on, would be to 
     102try using a 32-bit GHC instead. 
    81103 
    82104MAILING LISTS 
     
    105127Enjoy, 
    106128/Autrijus/ 
    107  
    108  
    109  
    110 x86_64 ONLY -- There is a problem on x86_64 (64 bit Athlon) machines. 
    111 GHC 6.4.0 has a garbage collector bug.  Until GHC 6.4.1 is released, 
    112 users on x86_64 may see crashes complaining of "strange object"s. 
    113 A partial workaround is to avoid gc by requesting a large heap. 
    114 Use either command line arguments 
    115     ./pugs +RTS -A200M -RTS 
    116 or an environment variable 
    117     GHCRTS='-A200M' 
    118 These request a 200 MB heap, which is sufficient to run most tests.  Eg, 
    119     GHCRTS='-A200M' make test 
    120 Running all tests unfortunately requires a lot more memory (perhaps 1000M). 
    121 A possible alternative, which someone could explore and report on, would 
    122 be to try using a 32big ghc.