summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-03-19 02:01:25 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-19 02:01:25 +0000
commit844fc9f4a134a15c4af4e154427d7a787605bba1 (patch)
tree96b60e896cb0a59d332ba90a843fac320419afe1 /INSTALL
parent3ed3e501be260a90da6a13cbbf08fdd51a507e24 (diff)
downloadperl-844fc9f4a134a15c4af4e154427d7a787605bba1.tar.gz
Document -Dmksymlinks.
p4raw-id: //depot/perl@9223
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL22
1 files changed, 22 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 3aa80ca9b7..dbf6cb5ca1 100644
--- a/INSTALL
+++ b/INSTALL
@@ -264,6 +264,28 @@ For more help on Configure switches, run:
sh Configure -h
+=head2 Building Perl outside of the source directory
+
+Sometimes it is desirable to build Perl in a directory different from
+where the sources are, for example if you want to keep your sources
+read-only, or if you want to share the sources between different binary
+architectures.
+
+Starting from Perl 5.6.1 you can do this (if your file system supports
+symbolic links) by
+
+ mkdir /tmp/perl/build/directory
+ cd /tmp/perl/build/directory
+ sh /path/to/perl/source/Configure -Dmksymlinks ...
+
+This will create in /tmp/perl/build/directory a tree of symbolic links
+pointing to files in /path/to/perl/source. The original files are left
+unaffected. After Configure has finished you can just say
+
+ make all test
+
+and Perl will be built and tested, all in /tmp/perl/build/directory.
+
=head2 Common Configure options
Configure supports a number of useful options. Run B<Configure -h> to