summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2000-12-07 00:28:14 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2000-12-07 00:28:14 +0000
commit202f44a7ecf734d5f2a032fd7225fc50841cc15d (patch)
tree1ee4dbabae8472c2c10dcf37400d2bd0bded1f8f /win32
parentaf9e741c6917cc9dd7cdbb8fdb801b055c7b5472 (diff)
downloadperl-202f44a7ecf734d5f2a032fd7225fc50841cc15d.tar.gz
Various attempts at MSVC debug - not sure what has
changed but works now. Seems atexit() _may_ work for DLLs built with MSVC so don't call cleanup that way. p4raw-id: //depot/perlio@8021
Diffstat (limited to 'win32')
-rw-r--r--win32/makefile.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk
index c4a1398b1c..974deb3483 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -437,10 +437,14 @@ PERLDLL_RES =
.IF "$(CFG)" == "Debug"
.IF "$(CCTYPE)" == "MSVC20"
OPTIMIZE = -Od -MD -Z7 -DDEBUGGING
+LINK_DBG = -debug -pdb:none
.ELSE
-OPTIMIZE = -Od -MD -Zi -DDEBUGGING
+# -Zi requires .pdb file(s)
+#OPTIMIZE = -Od -MD -Zi -DDEBUGGING
+#LINK_DBG = -debug
+OPTIMIZE = -O1 -MD -Z7 -DDEBUGGING
+LINK_DBG = -debug -debugtype:both -pdb:none
.ENDIF
-LINK_DBG = -debug -pdb:none
.ELSE
.IF "$(CFG)" == "Optimize"
# -O1 yields smaller code, which turns out to be faster than -O2