Pass latest tools/dev/checkdepend.pl
[parrot.git] / README
blob1f8e7c249e3be709348e5f614eb4dbc68f738d8c
1 This is Parrot, version 1.9.0
2 ------------------------------
4 Parrot is Copyright (C) 2001-2009, Parrot Foundation.
6 $Id$
8 LICENSE INFORMATION
9 -------------------
11 This code is distributed under the terms of the Artistic License 2.0.
12 For more details, see the full text of the license in the file LICENSE.
14 PREREQUISITES
15 -------------
17 You need a C compiler, a linker, and a make program of course.
19 If you will be linking with the ICU library you have to download and install it before
20 configuring Parrot. Get it from http://site.icu-project.org/download
22 You also need Perl 5.8.4 or newer, and Storable 2.12 or newer
23 for running various configure and build scripts.
25 For most of the platforms that we are supporting initially, Parrot should build
26 out of the box. docs/parrot.pod lists the core platforms.
27 PLATFORMS provides reports on the platforms on which Parrot has been built and tested. 
29 INSTRUCTIONS
30 ------------
32 For now, unpack your Parrot tarball, (if you're reading this, you've
33 probably already done that) and type
35     perl Configure.pl
37 to run the Configure script. The Configure.pl script extracts
38 configuration from the running perl5 program.  Unfortunately, the perl5
39 configuration is not set up to compile and link c++ programs, so you
40 may need to explicitly tell Configure.pl which compiler and linker to
41 use.  For example, to compile C files with 'cc', C++ files with
42 'CC', and link everything together with 'CC', you would type
44     perl Configure.pl --cc=cc --cxx=CC --link=CC --ld=CC
46 See "perl Configure.pl --help" for more options and docs/configuration.pod
47 for more details.
49 For systems like HPUX that don't have inet_pton please run
51     perl Configure.pl --define=inet_aton
53 Running Configure.pl will generate a config.h header, a Parrot::Config
54 module, platform files and many Makefiles.
56 The file "myconfig" has an overview of configure settings.
58 Next, run make. (Configure.pl will tell you which version of make it
59 recommends for your system.)
61 Now, the interpreter should build.  If you are building the ICU library
62 (this is the default on most systems), you need to use GNU make instead
63 (or something compatible with it).
65 You can test Parrot by running "make test". You can run the tests in parallel
66 with "make TEST_JOBS=3 test".
68 You can run the full test suite with
70     make fulltest
72 Note: PLATFORMS contains notes about whether test failures are expected
73 on your system.
75 You can install Parrot with:
77     make install
79 By default, this installs in /usr/local, with the Parrot executable in
80 /usr/local/bin. If you want to install Parrot into another location use:
82     perl Configure.pl --prefix=/Users/foo/parrot-0.7.0
83     make install
85 But please note that dynamic libs will not be found for non-standard
86 locations unless you set LD_LIBRARY_PATH or similar.
88 If you want to build high level languages on top of Parrot, you should
89 also run
91     make install-dev
93 to install development files which compilers need in their build process.
95 Look at docs/parrot.pod and docs/intro.pod for where to go from here.  If you
96 have any problems, see the section "How To Submit A Bug Report" in
97 docs/submissions.pod.  These documents are in POD format. You can view these
98 files with the command:
100     perldoc -F docs/intro.pod
102 NOTES
103 -----
105 On some older computers with little RAM, the computed-goto dispatch core
106 (ops/core_ops_cg.c) may take a while to compile or may fail to compile at all.
107 You can pass a flag to Configure.pl (--cgoto=0) to disable the computed-goto
108 core, at a slight cost in runtime speed.
110 CHANGES
111 -------
113 For documentation on the user-visible changes between this version and
114 previous versions, please see NEWS.
116 MAILING LISTS
117 -------------
119 The mailing list for Parrot is parrot-dev@lists.parrot.org. Subscribe by
120 filling out the form at http://lists.parrot.org/mailman/listinfo/parrot-dev
121 It is archived at http://lists.parrot.org/pipermail/parrot-dev/
123 FEEDBACK, PATCHES, etc.
124 -----------------------
126 See F<docs/submissions.pod> for more information on reporting bugs and
127 submitting patches.
129 WEB SITES
130 ---------
132 The following web sites have all the information you need about Parrot:
133     http://www.parrot.org/
134     http://trac.parrot.org/
136 Have fun,
137    The Parrot Team.