diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2014-03-20 18:55:44 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2014-03-20 19:12:44 +0000 |
commit | abd31397fa246823179f2356ce6dff8987b2b265 (patch) | |
tree | 90096adf37c9fff1b94582845ffaebcff55a138b | |
parent | b0afd857e5cc67938c4cd1cc650b4b911aa95176 (diff) | |
download | swig-abd31397fa246823179f2356ce6dff8987b2b265.tar.gz |
Always use debug flags for Mono to get decent stacktraces on error.
-rw-r--r-- | Examples/csharp/arrays/Makefile | 2 | ||||
-rw-r--r-- | Examples/csharp/callback/Makefile | 2 | ||||
-rw-r--r-- | Examples/csharp/class/Makefile | 2 | ||||
-rw-r--r-- | Examples/csharp/enum/Makefile | 2 | ||||
-rw-r--r-- | Examples/csharp/extend/Makefile | 2 | ||||
-rw-r--r-- | Examples/csharp/funcptr/Makefile | 2 | ||||
-rw-r--r-- | Examples/csharp/nested/Makefile | 2 | ||||
-rw-r--r-- | Examples/csharp/reference/Makefile | 2 | ||||
-rw-r--r-- | Examples/csharp/simple/Makefile | 2 | ||||
-rw-r--r-- | Examples/csharp/template/Makefile | 2 | ||||
-rw-r--r-- | Examples/csharp/variables/Makefile | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/Examples/csharp/arrays/Makefile b/Examples/csharp/arrays/Makefile index 65386f0dc..4be092d1c 100644 --- a/Examples/csharp/arrays/Makefile +++ b/Examples/csharp/arrays/Makefile @@ -5,7 +5,7 @@ TARGET = example INTERFACE = example.i SWIGOPT = CSHARPSRCS = *.cs -CSHARPFLAGS= -nologo -unsafe -out:runme.exe +CSHARPFLAGS= -nologo -debug+ -unsafe -out:runme.exe check: build $(MAKE) -f $(TOP)/Makefile csharp_run diff --git a/Examples/csharp/callback/Makefile b/Examples/csharp/callback/Makefile index 340febc88..6c58abd28 100644 --- a/Examples/csharp/callback/Makefile +++ b/Examples/csharp/callback/Makefile @@ -5,7 +5,7 @@ TARGET = example INTERFACE = example.i SWIGOPT = CSHARPSRCS = *.cs -CSHARPFLAGS= -debug -nologo -out:runme.exe +CSHARPFLAGS= -nologo -debug+ -out:runme.exe check: build $(MAKE) -f $(TOP)/Makefile csharp_run diff --git a/Examples/csharp/class/Makefile b/Examples/csharp/class/Makefile index bc3ce8ce8..6c58abd28 100644 --- a/Examples/csharp/class/Makefile +++ b/Examples/csharp/class/Makefile @@ -5,7 +5,7 @@ TARGET = example INTERFACE = example.i SWIGOPT = CSHARPSRCS = *.cs -CSHARPFLAGS= -nologo -out:runme.exe +CSHARPFLAGS= -nologo -debug+ -out:runme.exe check: build $(MAKE) -f $(TOP)/Makefile csharp_run diff --git a/Examples/csharp/enum/Makefile b/Examples/csharp/enum/Makefile index bc3ce8ce8..6c58abd28 100644 --- a/Examples/csharp/enum/Makefile +++ b/Examples/csharp/enum/Makefile @@ -5,7 +5,7 @@ TARGET = example INTERFACE = example.i SWIGOPT = CSHARPSRCS = *.cs -CSHARPFLAGS= -nologo -out:runme.exe +CSHARPFLAGS= -nologo -debug+ -out:runme.exe check: build $(MAKE) -f $(TOP)/Makefile csharp_run diff --git a/Examples/csharp/extend/Makefile b/Examples/csharp/extend/Makefile index bc3ce8ce8..6c58abd28 100644 --- a/Examples/csharp/extend/Makefile +++ b/Examples/csharp/extend/Makefile @@ -5,7 +5,7 @@ TARGET = example INTERFACE = example.i SWIGOPT = CSHARPSRCS = *.cs -CSHARPFLAGS= -nologo -out:runme.exe +CSHARPFLAGS= -nologo -debug+ -out:runme.exe check: build $(MAKE) -f $(TOP)/Makefile csharp_run diff --git a/Examples/csharp/funcptr/Makefile b/Examples/csharp/funcptr/Makefile index 875ae0e71..ed15cb28e 100644 --- a/Examples/csharp/funcptr/Makefile +++ b/Examples/csharp/funcptr/Makefile @@ -5,7 +5,7 @@ TARGET = example INTERFACE = example.i SWIGOPT = CSHARPSRCS = *.cs -CSHARPFLAGS= -nologo -out:runme.exe +CSHARPFLAGS= -nologo -debug+ -out:runme.exe check: build $(MAKE) -f $(TOP)/Makefile csharp_run diff --git a/Examples/csharp/nested/Makefile b/Examples/csharp/nested/Makefile index bc3ce8ce8..6c58abd28 100644 --- a/Examples/csharp/nested/Makefile +++ b/Examples/csharp/nested/Makefile @@ -5,7 +5,7 @@ TARGET = example INTERFACE = example.i SWIGOPT = CSHARPSRCS = *.cs -CSHARPFLAGS= -nologo -out:runme.exe +CSHARPFLAGS= -nologo -debug+ -out:runme.exe check: build $(MAKE) -f $(TOP)/Makefile csharp_run diff --git a/Examples/csharp/reference/Makefile b/Examples/csharp/reference/Makefile index bc3ce8ce8..6c58abd28 100644 --- a/Examples/csharp/reference/Makefile +++ b/Examples/csharp/reference/Makefile @@ -5,7 +5,7 @@ TARGET = example INTERFACE = example.i SWIGOPT = CSHARPSRCS = *.cs -CSHARPFLAGS= -nologo -out:runme.exe +CSHARPFLAGS= -nologo -debug+ -out:runme.exe check: build $(MAKE) -f $(TOP)/Makefile csharp_run diff --git a/Examples/csharp/simple/Makefile b/Examples/csharp/simple/Makefile index 875ae0e71..ed15cb28e 100644 --- a/Examples/csharp/simple/Makefile +++ b/Examples/csharp/simple/Makefile @@ -5,7 +5,7 @@ TARGET = example INTERFACE = example.i SWIGOPT = CSHARPSRCS = *.cs -CSHARPFLAGS= -nologo -out:runme.exe +CSHARPFLAGS= -nologo -debug+ -out:runme.exe check: build $(MAKE) -f $(TOP)/Makefile csharp_run diff --git a/Examples/csharp/template/Makefile b/Examples/csharp/template/Makefile index 43243d6d5..23fe2eec9 100644 --- a/Examples/csharp/template/Makefile +++ b/Examples/csharp/template/Makefile @@ -5,7 +5,7 @@ TARGET = example INTERFACE = example.i SWIGOPT = CSHARPSRCS = *.cs -CSHARPFLAGS= -nologo -out:runme.exe +CSHARPFLAGS= -nologo -debug+ -out:runme.exe check: build $(MAKE) -f $(TOP)/Makefile csharp_run diff --git a/Examples/csharp/variables/Makefile b/Examples/csharp/variables/Makefile index 875ae0e71..ed15cb28e 100644 --- a/Examples/csharp/variables/Makefile +++ b/Examples/csharp/variables/Makefile @@ -5,7 +5,7 @@ TARGET = example INTERFACE = example.i SWIGOPT = CSHARPSRCS = *.cs -CSHARPFLAGS= -nologo -out:runme.exe +CSHARPFLAGS= -nologo -debug+ -out:runme.exe check: build $(MAKE) -f $(TOP)/Makefile csharp_run diff --git a/configure.ac b/configure.ac index f4d734e78..fbf74774a 100644 --- a/configure.ac +++ b/configure.ac @@ -1755,7 +1755,7 @@ if test -z "$CSHARPBIN" ; then echo "mcs is not a working Mono C# compiler" fi fi - if test "mcs" = "$CSHARPCOMPILER" || test "gmcs" = "$CSHARPCOMPILER"; then + if test "mcs" = "$CSHARPCOMPILER" || test "gmcs" = "$CSHARPCOMPILER" || test "mono-csc" = "$CSHARPCOMPILER"; then AC_CHECK_PROGS(CSHARPCILINTERPRETER, mono) # Mono JIT CSHARPCILINTERPRETER_FLAGS="--debug" else |