summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavygrvy <davygrvy@noemail.net>2002-02-20 12:33:31 (GMT)
committerdavygrvy <davygrvy@noemail.net>2002-02-20 12:33:31 (GMT)
commite0aa79a7881b90600a3b117d2c6448ee3bf3ec47 (patch)
tree3ef5e58aec9fe66b85475cbc6b3f3b1c4a92d0d6
parent8ed0de1eee16931a337d85aa5562b920de1c9a96 (diff)
downloadtcl-e0aa79a7881b90600a3b117d2c6448ee3bf3ec47.zip
tcl-e0aa79a7881b90600a3b117d2c6448ee3bf3ec47.tar.gz
tcl-e0aa79a7881b90600a3b117d2c6448ee3bf3ec47.tar.bz2
* win/makefile.vc: Added the pentium errata switches to $(cflags)
which should have already been there according to the MSDN docs regarding the infamous FDIV bug from `97. Added profiling to $(lflags) and also removed the explict -entry option as the default works without special work. FossilOrigin-Name: 25d1437dfd29f75722b2b37708b07d4f419f3e81
-rw-r--r--win/makefile.vc22
1 files changed, 8 insertions, 14 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index a15edd2..a6b082a 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -12,7 +12,7 @@
# Copyright (c) 2001 Tomasoft Engineering.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.79 2002/02/15 23:42:12 kennykb Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.80 2002/02/20 12:33:32 davygrvy Exp $
#------------------------------------------------------------------------------
!if "$(MSVCDIR)" == ""
@@ -321,7 +321,7 @@ cdebug = -Z7 -Od -WX
!endif
# declarations common to all compiler options
-cflags = -c -W3 -nologo -Fp$(TMP_DIR)\ -YX
+cflags = -nologo -c -W3 -YX -QI0f -QIfdiv -Fp$(TMP_DIR)^\
!if $(MSVCRT)
crt = -MD$(DBGX)
@@ -347,19 +347,13 @@ ldebug = -release
# declarations common to all linker options
lflags = -nologo -machine:$(MACHINE)
-# declarations for use on Intel i386, i486, and Pentium systems
-!IF "$(MACHINE)" == "IX86"
-DLLENTRY = @12
-dlllflags = $(lflags) -entry:_DllMainCRTStartup$(DLLENTRY) -dll
-!ELSE IF "$(MACHINE)" == "IA64"
-DLLENTRY = @12
-dlllflags = $(lflags) -dll
-!ELSE
-dlllflags = $(lflags) -entry:_DllMainCRTStartup$(DLLENTRY) -dll
-!ENDIF
+!if $(PROFILE)
+lflags = $(lflags) -profile
+!endif
-conlflags = $(lflags) -subsystem:console -entry:mainCRTStartup
-guilflags = $(lflags) -subsystem:windows -entry:WinMainCRTStartup
+dlllflags = $(lflags) -dll
+conlflags = $(lflags) -subsystem:console
+guilflags = $(lflags) -subsystem:windows
baselibs = kernel32.lib advapi32.lib user32.lib
winlibs = $(baselibs) gdi32.lib