Artifact a17c3b8ebd649f892c9caf35cccd8d204f06311c:
- Executable file win/buildall.vc.bat — part of check-in [79169c9339] at 2002-02-20 19:06:53 on branch trunk — * win/buildall.vc.bat: * win/makefile.vc: * win/rules.vc: General clean-ups. Added compiler and linker tests for a) the pentium 0x0F errata, b) optimizing (not all have this), and c) linker v6 section alignment confusion. All these are tested first to make sure any D4002 or LNK1117 warnings aren't displayed. The pentium 0x0F errata is a recommended switch. The v5 linker's section alignment default is 512, but the v6 linker was changed to 4096 in an attempt to speed loading on Win98. I changed the default to always be 512 across both linkers, unless linking statically, then 4096 is used for the claimed speed effect. Using a 512 alignment saves 12k bytes of dead space in the DLL. Added IA64 B-stepping errata switch when the compiler supports it. Added profiling to $(lflags) when requested and also removed the explict -entry option as the default works fine as is. Removed win/tclWinInit.c from the special case section to let it use the common implicit rule as the $(EXTFLAGS) macro it had was never referenced anywhere. (user: davygrvy, size: 1044) [annotate] [blame] [check-ins using]
@echo off :: This is an example batchfile for building everything. Please :: edit this (or make your own) for your needs and wants using :: the instructions for calling makefile.vc found in makefile.vc :: :: RCS: @(#) $Id: buildall.vc.bat,v 1.3 2002/02/20 19:06:53 davygrvy Exp $ echo Sit back and have a couple cups of coffee while this grinds through ;) echo You asked for *everything*, remember? echo. if "%MSVCDir%" == "" call C:\progra~1\micros~4\vc98\bin\vcvars32.bat set INSTALLDIR=C:\progra~1\tcl nmake -nologo -f makefile.vc release winhelp OPTS=none if errorlevel 1 goto error nmake -nologo -f makefile.vc release OPTS=static if errorlevel 1 goto error nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt if errorlevel 1 goto error nmake -nologo -f makefile.vc core OPTS=static,threads if errorlevel 1 goto error nmake -nologo -f makefile.vc dlls OPTS=static,msvcrt,threads if errorlevel 1 goto error nmake -nologo -f makefile.vc shell OPTS=threads if errorlevel 1 goto error goto end :error echo **BOOM!** :end pause