comparison admin/make-emacs @ 41841:1b65cbdd3bbd

Add --trace-move.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 06 Dec 2001 14:22:47 +0000
parents 6bd2a61edfa8
children 23a1cea22d13
comparison
equal deleted inserted replaced
41840:16833c8c834e 41841:1b65cbdd3bbd
51 "alias" => \$aliasing, 51 "alias" => \$aliasing,
52 "boot" => \$boot, 52 "boot" => \$boot,
53 "wall" => \$wall, 53 "wall" => \$wall,
54 "gcc3" => \$gcc3, 54 "gcc3" => \$gcc3,
55 "trace-selection" => \$trace_selection, 55 "trace-selection" => \$trace_selection,
56 "trace-move" => \$trace_move,
56 "stabs" => \$use_stabs, 57 "stabs" => \$use_stabs,
57 "optim" => \$optim); 58 "optim" => \$optim);
58 59
59 if ($rc == 0 || $help) 60 if ($rc == 0 || $help)
60 { 61 {
75 --malloc-check define GC_MALLOC_CHECK 76 --malloc-check define GC_MALLOC_CHECK
76 --no-mcheck dont define GC_MCHECK 77 --no-mcheck dont define GC_MCHECK
77 --wall compile with -Wall 78 --wall compile with -Wall
78 --gcc3 use GCC 3.0 (30% slower compilation, slower code) 79 --gcc3 use GCC 3.0 (30% slower compilation, slower code)
79 --trace-selection print traces in xselect.c 80 --trace-selection print traces in xselect.c
81 --trace-move print traces for move_it* functions
80 --stabs use -gstabs instead -g 82 --stabs use -gstabs instead -g
81 83
82 Default is to compile with warnings, with -DGC_MCHECK=1, and 84 Default is to compile with warnings, with -DGC_MCHECK=1, and
83 with -DGLYPH_DEBUG=1. 85 with -DGLYPH_DEBUG=1.
84 86
143 $defs = "$defs -DUSE_LISP_UNION_TYPE" if $union_type; 145 $defs = "$defs -DUSE_LISP_UNION_TYPE" if $union_type;
144 $defs = "$defs -DGC_MALLOC_CHECK=1 -DGC_PROTECT_MALLOC_STATE=1" if $malloc_check; 146 $defs = "$defs -DGC_MALLOC_CHECK=1 -DGC_PROTECT_MALLOC_STATE=1" if $malloc_check;
145 $defs = "$defs -DGC_MCHECK=1" unless $no_mcheck; 147 $defs = "$defs -DGC_MCHECK=1" unless $no_mcheck;
146 148
147 $defs = "$defs -DTRACE_SELECTION" if $trace_selection; 149 $defs = "$defs -DTRACE_SELECTION" if $trace_selection;
150 $defs = "$defs -DDEBUG_TRACE_MOVE" if $trace_move;
148 151
149 # arch=pentium leads to slightly faster code than without. 152 # arch=pentium leads to slightly faster code than without.
150 $opts = "$opts -march=pentiumpro"; 153 $opts = "$opts -march=pentiumpro";
151 154
152 if ($optim) 155 if ($optim)