X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=INSTALL;h=89707cf6c450ac87e803daa2ce124a9868386c26;hb=133fac12ff7e3894deb31a204a9a12453b87bbf0;hp=d2f072f2422f5a09671bf0422566d2dd6cbe05e3;hpb=5ee651a9b9216a117835eca06b01232a8e3ac4a1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/INSTALL b/INSTALL index d2f072f..89707cf 100644 --- a/INSTALL +++ b/INSTALL @@ -772,6 +772,21 @@ simply do: =back +=head2 Relocatable @INC + +To create a relocatable perl tree, use the following command line: + + sh Configure -Duserelocatableinc + +Then the paths in @INC (and everything else in %Config) can be +optionally located via the path of the perl executable. + +That means that, if the string ".../" is found at the start of any +path, it's substituted with the directory of $^X. So, the relocation +can be configured on a per-directory basis, although the default with +"-Duserelocatableinc" is that everything is relocated. The initial +install is done to the original configured prefix. + =head2 Site-wide Policy settings After Configure runs, it stores a number of common site-wide "policy" @@ -890,6 +905,22 @@ Removes -g from optimize, and -DDEBUGGING from ccflags. If you are using a shared libperl, see the warnings about multiple versions of perl under L. +Note that a perl built with -DDEBUGGING will be bigger and will run more +slowly than a standard perl. + +=head2 DTrace support + +On platforms where DTrace is available, it may be enabled by +using the -Dusedtrace option to Configure. DTrace probes are available for +subroutine entry (sub-entry) and subroutine exit (sub-exit). Here's a +simple D script that uses them: + + perl$target:::sub-entry, perl$target:::sub-return { + printf("%s %s (%s:%d)\n", probename == "sub-entry" ? "->" : "<-", + copyinstr(arg0), copyinstr(arg1), arg2); + } + + =head2 Extensions Perl ships with a number of standard extensions. These are contained