* docs/pmc/array.pod:
[parrot.git] / README
blob4d25f6a50d35faeb0e8877548ab89c8c50bcf0da
1 This is Parrot, version 0.4.14
2 -----------------------------
4 Parrot is Copyright (C) 2001-2007, The Perl 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. If you will be
18 linking with the ICU library you have to download and install it before
19 configuring Parrot.
21 Get it from http://www-306.ibm.com/software/globalization/icu/downloads.jsp
23 You also need Perl 5.8.0 or newer to run various configure and build scripts.
25 For most of the platforms that we are supporting initially, Parrot should build
26 out of the box.  The list of targeted platforms can be found in PLATFORMS.
28 The current configure system is primitive, as it's only
29 a temporary solution. It will be happy with most any answers
30 you decide to feed it. Garbage In, Garbage Out.
32 INSTRUCTIONS
33 ------------
35 For now, unpack your Parrot tarball, (if you're reading this, you've
36 probably already done that) and type
38     perl Configure.pl
40 to run the Configure script. The Configure.pl script extracts
41 configuration from the running perl5 program.  Unfortunately, the perl5
42 configuration is not set up to compile and link c++ programs, so you
43 may need to explicitly tell Configure.pl which compiler and linker to
44 use.  For example, to compile C files with 'cc', C++ files with
45 'CC', and link everything together with 'CC', you would type
47     perl Configure.pl --cc=cc --cxx=CC --link=CC --ld=CC
49 See "perl Configure.pl --help" for more options.
51 For systems like HPUX that don't have inet_pton please run
53     perl Configure.pl --define=inet_aton
55 Running Configure.pl will generate a config.h header, a Parrot::Config
56 module, platform files and some Makefiles.
58 The file "myconfig" has an overview of configure settings.
60 Next, run make:
62 For UNIX like systems that come with its own make, 'gmake' should be
63 used.  (On most Linux systems, this is the default make.)
65 On windows systems, 'nmake' is used
67 On other systems, just try 'make'
69 NOTE: do *NOT* use the '-j' option to make. The dependencies in the generated
70 Makefile work if you do them sequentially, but running with -j will almost
71 certainly cause a build error. Patches welcome.
73 Now, the interpreter should build.  If you are building the ICU library
74 (this is the default on most systems), you need to use GNU make instead
75 (or something compatible with it).
77 NOTE: If you have trouble linking parrot, this *may* be due to a pre-existing
78 parrot version installed via 'make install'. Until this issue is resolved,
79 you may have to delete the installed version of parrot before building a new
80 one. Our apologies.
82 You can test parrot by running
84     make test         (or nmake test or gmake test)
86 You can run the full test suite with
88     make fulltest
90 Note: PLATFORMS contains notes about whether test failures are expected
91 on your system.
93 On some systems you can install parrot:
95     make install
97 This installs a bunch of files in /usr/local. The parrot executable is in
98 /usr/local/bin.   Please note that this feature is currently experimental.
100 If you want to install Parrot into a non-standard location use:
102     perl Configure.pl --prefix=/Users/foo/parrot-0.4.12
103     make install
105 But please note that dynamic libs will not be found for non-standard
106 locations unless you set LD_LIBRARY_PATH or similar.
108 Look at docs/parrot.pod and docs/intro.pod for where to go from here.  If you
109 have any problems, see the section "Reporting Problems" in docs/intro.pod.
110 These documents are in POD format. You can view these files with:
112     perldoc -F docs/intro.pod
114 NOTES
115 -----
117 On some older computers with little RAM, the computed-goto dispatch core
118 (ops/core_ops_cg.c) may take a while to compile or may fail to compile at all.
119 You can pass a flag to Configure.pl (--cgoto=0) to disable the computed-goto
120 core, at a slight cost in runtime speed.
122 CHANGES
123 -------
125 For documentation on the user-visible changes between this version and
126 previous versions, please see NEWS.
128 MAILING LISTS
129 -------------
131 The mailing list for parrot is parrot-porters.  Subscribe by sending mail to
132 parrot-porters-subscribe@perl.org. It is archived at
133 http://www.nntp.perl.org/group/perl.perl6.internals
134 and available via NNTP at nntp://nntp.perl.org/perl.perl6.internals
136 You can also read the list via Google Groups at
137 http://groups-beta.google.com/group/perl.perl6.internals
139 WEB SITES
140 ---------
142 The following web sites have all the Parrot information you need:
143     http://www.parrotcode.org/
144     http://dev.perl.org/perl6/
145     http://bugs6.perl.org/
146     http://pugscode.org/
148 Have fun,
149    The Parrot Team.