summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
Commit message (Collapse)AuthorAgeFilesLines
* Support cross-compilation to x64 from ix86 hosts when using NMAKE.patthoyts2011-04-201-42/+45
| | | | | | | | Part of the build uses tclsh to generate files. Ensure we can specify a runnable executable using TCLSH_NATIVE when cross-compiling. This patch also gets smarter about finding the compiler version, the compiler target architecture and the native architecture. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-3/+0
|\ | | | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-3/+0
| | | | | | more harm than good. Purged them.
| * Add -D_CRT_SECURE_NO_DEPRECATE and -D_CRT_NONSTDC_NO_DEPRECATE, reducing the ↵nijtmans2010-10-311-16/+19
| | | | | | | | | | | | | | | | number of deprecation warnings on later VC++ versions. Better VCVERSION determination. All changes backported from Tcl8.5/8.6
| * Update for VS10nijtmans2010-10-231-6/+13
| |
| * Fix for AMD64 target symbols builds.patthoyts2007-09-111-1/+4
| |
| * Fix bug #1582769 build with VC2003 and correct i386 arch.patthoyts2006-10-311-2/+5
| |
| * Ensure builds with VC6 without Platform SDK and Pickup MACHINE from environmentpatthoyts2006-10-181-1/+5
| | | | | | | | to make life easier on Windows non-x86 platforms.
| * Remove RTCc flagpatthoyts2006-10-061-5/+1
| |
| * * win/makefile.vc: Updated MSVC build to properly deal withpatthoyts2006-09-261-10/+68
| | | | | | | | | | | | | | | | * win/nmakehlp.c: MSVC8 and AMD64 target. Backport from 8.5 * win/rules.vc: * generic/tcl.h: Fixed stat definition for MSVC8 AMD64. * win/tclWinSock.c: Casting type police. * win/tclWinTime.c:
| * Remove test chunkpatthoyts2006-06-141-4/+4
| |
| * Enable building Tcl with Microsoft's latest compiler offeringpatthoyts2006-06-141-19/+101
| | | | | | | | | | | | (VS2005). We have to handle a number of oddities as they have deprecated most of the standard C library and now generate manifest files to be linked into the binaries. SF bug #1424909
* | Update for VS10nijtmans2010-10-231-3/+5
| |
* | Backported fix for dde/registry versions and the staticpkg build optionpatthoyts2008-06-251-5/+18
| |
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Visual Studio 2008/MSVC 9 supportpatthoyts2007-12-101-4/+10
| |
* | Sync to Tk: use -fp:strict alwayspatthoyts2007-10-311-11/+1
| |
* | sync with tk fixing tk install faultpatthoyts2007-10-121-1/+2
| |
* | Mine all version information from headers. Sync tcl and tk and bringpatthoyts2007-10-121-77/+161
| | | | | | | | | | | | extension versions closer together. Try and avoid using tclsh to do substitutions as we may cross compile. Added offsets for snack dlls to coffbase.txt
* | Use nmakehlp to substitute values for tclConfig.sh (helps cross-compiling).patthoyts2007-09-121-5/+11
| |
* | Windows build fixJoe Mistachkin2007-02-041-3/+5
| |
* | Fixes to work better on Win98. Read version numbers from package index filepatthoyts2007-01-111-10/+49
| | | | | | | | to avoid keeping numbers in the makefile.
* | Fix for bug #1582769 - options conflict with VC2003.patthoyts2006-10-311-1/+8
| |
* | bug #1571954: avoid /RTCc flag with MSVC8tip_278_branch_rootpatthoyts2006-10-061-5/+1
| |
* | Additional compiler flags and amd64 support.patthoyts2006-09-261-2/+18
| |
* | More fixing which struct stat to refer to. Some casts from time_t to int ↵patthoyts2006-09-261-19/+59
| | | | | | | | | | | | | | required. Tcl_Time structure members are longs. Support for varying compiler options and build to platform-specific subdirs.
* | Updated to install http, tcltest and msgcat as Tcl Modules (as per Makefile.in).patthoyts2006-09-111-4/+5
| |
* | Applied patch #1096916 to support building with MSVC 8.patthoyts2005-11-031-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | * generic/regerror.c: Avoid use of reserved word. * generic/tcl.h: Select the right Tcl_Stat structure * generic/tclDate.c: Casts to handle 64 bit time_t case. * tests/env.test: Include essential envvar on Win32 * win/nmakehlp.c: Handle new return codes. * win/makefile.vc: Use the selected options. * win/rules.vc: Check options are applicable * win/tclWinPort.h: Disable deprecated function warnings * win/tclWinSock.c: Provide default value to avoid warning. * win/tclWinTime.c: Add casts to handle 64bit time_t type.
* | radical refactoring of thread storage to untangle dependenciesKevin B Kenny2005-08-111-10/+1
| |
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | Version 5 of [Patch 976496]Joe Mistachkin2004-06-241-1/+10
| |
* | * win/makefile.vc:davygrvy2004-02-071-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * win/rules.vc: * win/tcl.rc: * win/tclsh.rc: Added an 'unchecked' option to the OPTS macro so a core build with symbols can be linked to the non-debug enabled C run-time. As per discussion with Kevin Kenny. Called like this: nmake -af makefile.vc OPTS=unchecked,symbols This clarifies the meaning of the 'g' naming suffix to mean only that the binary requires the debug enabled C run-time. Whether the binary contains symbols or not is a seperate condition.
* | * win/rules.vc: Added new 'fullwarn' to the CHECKS commandlinedavygrvy2004-01-151-1/+8
| | | | | | | | macro; sets $(FULLWARNINGS).
* | Added -DTCL_NO_DEPRECATED usage to makefile.vc. Called like this:davygrvy2004-01-101-1/+20
| | | | | | | | nmake -af makefile.vc CHECKS=nodep
* | New feature for extensions that use rules.vc. Now reads header files fordavygrvy2003-12-231-11/+38
| | | | | | | | | | version strings. No more hard coding TCL_VERSION = 8.5 and having to edit it when you swap cores.
* | Added a missing $(OPTDEFINES) which broke the build if Kevin B Kenny2003-07-151-2/+2
| | | | | | | | STATS=memdbg was specified.
* | * win/Makefile.in: Haven't heard back from David for a week.andreas_kupries2003-06-161-2/+18
| | | | | | | | | | | | | | | | | | * win/configure: Now committing the remaining changes. * win/configure.in: Note: In active contact with Helmut Giese * win/makefile.vc: about the borland relatedchanges. This part * win/rules.vc: will see future updates. * win/tcl.m4: * win/makefile.bc:
* | updated default tcl version to 8.5davygrvy2003-03-061-2/+2
|/
* * win/configure:hobbs2003-03-011-4/+4
| | | | | | * win/configure.in: check for 'g' for debug build type, not 'd'. * win/rules.vc (DBGX): correct to use 'g' for nmake win makefile to match the cygwin makefile for debug builds. [Bug #635107]
* * win/makefile.vc:davygrvy2003-01-051-6/+19
| | | | | | | | | | | | | | | | * win/rules.vc: Fixed INSTALLDIR macro problem that blanked itself by accident causing the install target to put the tree at the root of the drive built on. Whoops.. Renamed the 'linkexten' option to be 'staticpkg'. Added 'thrdalloc' to allow the switching _on_ of the thread allocator. Under testing, I found it not to be benificial under windows for the purpose of the application I was using it for. It was more important for this app that resources for tcl threads be returned to the system rather than saved/moved to the global recycler. Be extra clean or extra fast for the default threaded build? Let's move to clean and allow it to be switched on for users who find it benificial for their use of threads.
* * win/tclAppInit.c: Calls Registry_Init() and Dde_Init() whendavygrvy2002-11-041-7/+92
| | | | | | | | | | | | | STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set. * win/makefile.vc: * win/rules.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES macro which also adds the registry and dde object files to the link of the shell. [Patch 479697] Also factored some additional macros that will be helpful for extension authors. Version grepping of tcl.h will need to be added to complete this. * win/buildall.vc.bat: Added more descriptive commentary.
* The test for compiler optimizations was in error. Thanks goes to Roy Terrydavygrvy2002-06-141-2/+2
| | | | <royterry@earthlink.net> for his assistence with this.
* * win/.cvsignore:davygrvy2002-03-271-30/+28
| | | | | | | | | | | | | | | | | * win/buildall.vc.bat: * win/coffbase.txt: * win/makefile.vc: * win/nmakehlp.c (new): * win/rules.vc: First draft fix for [Bug 527941]. More changes need to done to the makehelp target to get to stop leaving build files in the tools/ directory. This does not address the syntax errors in the man files. Having the contents of tcl.hpj(.in) inside makefile.vc allows for version numbers to be replaced with macros. The new nmakehlp.c is built by rules.vc in preprocessing and removes the need to use tricky shell syntax that wasn't compatible on Win9x systems. This is a first draft repair for [Bug 533862].
* * win/makefile.vc:davygrvy2002-02-211-2/+9
| | | | | | * win/rules.vc: Added a new "loimpact" option that sets the -ws:aggressive linker option. Off by default. It's said to keep the heap use low at the expense of alloc speed.
* * win/buildall.vc.bat:davygrvy2002-02-201-7/+79
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* * win/makefile.vc:davygrvy2001-11-151-5/+5
| | | | | | | * win/rules.vc: Small bug fixes. * win/README: added some docs pointing to the docs in makefile.vc for it's use.
* * win/rules.vc:davygrvy2001-11-081-2/+11
| | | | | | | | * win/makefile.vc: Fixed install target to adjust for the different build types. Added a 'linkexten' option to link the win extensions inside the shell when built static. Placed win/tclAppInit.c patch in SF patch DB for approval. 'profile' option not hooked in yet. Everything else know is done.
* * win/rules.vc:davygrvy2001-11-081-30/+14
| | | | | | | | * win/makefile.vc: Dropped the NOMSVCRT macro and put it on the option list instead. It makes more sense to me this way as NOMSVCRT=0 would only be the valid setting. Fixed the dde and reg extension for building static. Improved, but not perfected, the winhelp target.
* * win/rules.vc (new):davygrvy2001-11-071-0/+192
* win/makefile.vc: Complete over/under rewrite to support numerous build options all from the commandline itself without needing to edit the makefile. Now requires vcvars32.bat to be run prior to running nmake for bootstraping the environment. Fully doc'd usage for it is in makefile.vc. Commentary welcome. Sticky points left are: 1) winhelp target shows errors in the converting script. 2) .rc scripts aren't getting the right #defines to build the correct "OriginalFilename" strings. (have patch, won't commit yet) 3) Naming convention with suffixes describing the buildtype are 'tsdx' which will need public acceptance. ie. tclsh84tsx.exe is a (t) threaded shell (s) statically linked to the core and (x) uses msvcrt instead of libcmt.