summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2006-04-17 12:18:07 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-04-17 12:18:07 +0000
commiteaf812ae1a347289872c15b0fb8a27a85b03dc2f (patch)
tree7477c3c1333e9c9d0768a9a987b1ca42f7ed712b /INSTALL
parent30c8d9e411f7375ddf81a32aa625d6c0e0c39091 (diff)
downloadperl-eaf812ae1a347289872c15b0fb8a27a85b03dc2f.tar.gz
Support for -DDEBUGGING and its alias -DEBUGGING
p4raw-id: //depot/perl@27863
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL36
1 files changed, 35 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 1b36454805..36e738e6f5 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1020,7 +1020,21 @@ as usual, and Perl will be built in /tmp/perl/build/directory.
You can run perl scripts under the perl debugger at any time with
B<perl -d your_script>. If, however, you want to debug perl itself,
-you probably want to do
+you probably want to have support for perl internal debugging code
+(activated by adding -DDEBUGGING to ccflags), and/or support for the
+system debugger by adding -g to optimize.
+
+ sh Configure -DDEBUGGING=<mode>
+
+For a more eye appealing call, -DEBUGGING is defined to be an alias
+for -DDEBUGGING. For both, the -U calls are also supported, in order
+to be able to overrule the hints or Policy.sh settings.
+
+=over 4
+
+=item -DEBUGGING=old
+
+Which is the default, and supports the old convention of
sh Configure -Doptimize='-g'
@@ -1039,6 +1053,26 @@ L<"Propagating your changes to config.sh"> below.)
You can actually specify -g and -DDEBUGGING independently, but usually
it's convenient to have both.
+=over 4
+
+=item -DDEBUGGING
+
+=item -DEBUGGING
+
+=item -DEBUGGING=both
+
+Sets both -DDEBUGGING in the ccflags, and add -g to optimize.
+
+=item -DEBUGGING=-g
+
+Adds -g to optimize, but does not set -DDEBUGGING.
+
+=item -DEBUGGING=none
+
+Removes -g from optimize, and -DDEBUGGING from ccflags.
+
+=back
+
If you are using a shared libperl, see the warnings about multiple
versions of perl under L<Building a shared Perl library>.