diff options
author | davygrvy <davygrvy@pobox.com> | 2002-02-20 12:33:32 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2002-02-20 12:33:32 (GMT) |
commit | 6e0e89ddfe6756c4ff2082290057268b227b561f (patch) | |
tree | 3ef5e58aec9fe66b85475cbc6b3f3b1c4a92d0d6 /win/makefile.vc | |
parent | f2894eb46ef1ffa03050d2664b218a471a0f8e98 (diff) | |
download | tcl-6e0e89ddfe6756c4ff2082290057268b227b561f.zip tcl-6e0e89ddfe6756c4ff2082290057268b227b561f.tar.gz tcl-6e0e89ddfe6756c4ff2082290057268b227b561f.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.
Diffstat (limited to 'win/makefile.vc')
-rw-r--r-- | win/makefile.vc | 22 |
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 |