Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
1999-12-13
1999-12-13 05:01:23 by Per Hedbor <ph@opera.com>
bcdd9d5f323625fde1a13330913ce3579de9549a (
33
lines) (+
29
/-
4
)
[
Show
|
Annotate
]
Branch:
5.2
When running with debug, enable -rt by default. Also enable -w.
Rev: server/start:1.84
1:
#!/bin/sh #
-
# $Id: start,v 1.
83
1999/12/
06
22
:
53
:
00
mast
Exp $
+
# $Id: start,v 1.
84
1999/12/
13
05
:
01
:
23
per
Exp $
pre="`echo \" $$ \" | sed -e 's/\(.........\)\(.*\)/\1/g'` :"
161:
once=1 shift ;;
-
-d*|-t*|-l*|-w*)
+
-
r*|-
d*|-t*|-l*|-w*)
# Argument passed along to Pike. ARGS="$ARGS $1" ;;
269:
This only works if Pike is compiled with debug.
+
.B-rtB.: Enable runtime typechecking.
+
Things will run more slowly, but it is very
+
useful while developing code.
+
+
Enabled when starting roxen with --debug
+
+
.B-rTB.: Enable strict types.
+
Same as adding #pragma strict-types
+
to all files.
+
+
This enables more strict
+
type-checking, things that are
+
normally permitted (such as calling
+
a mixed value, or assigning a typed
+
object variable with an untyped
+
object) will generate warnings.
+
+
Useful for module and roxen core
+
developers, but not so useful for
+
the occasional pike-script-writer.
+
+
Enabled when starting roxen with --debug
+
.B-s<size>B.: Set the stack size. .B-M<path>B.: Add the path to the Pike module path.
400:
case "x$debug" in "x")
-
DEBUG="-DMODULE_DEBUG"
+
DEBUG="-DMODULE_DEBUG
-rt
"
+
ARGS="$ARGS -w"
;; "x-1") DEBUG="" ;; "x1")
-
DEBUG="-DDEBUG -DMODULE_DEBUG"
+
DEBUG="-DDEBUG -DMODULE_DEBUG
-rt
"
ARGS="$ARGS -w" ;; esac