summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
Commit message (Collapse)AuthorAgeFilesLines
* * win/mkd.bat (removed):davygrvy2002-02-211-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | * win/coffbase.txt (new): * win/makefile.bc: * win/makefile.vc: Changed the 'setup' target to stop using the mkd.bat file and just make the directory right in the rule. Same change to makefile.bc. configure.in nor Makefile.in use it. coffbase.txt will be the master list for our "prefered base addresses" set by the linker. This should improve load-time (NT only) by avoiding relocations. Submissions to the list by extension authors are encouraged. Added a 'tidy' target to compliment 'clean' and 'hose' to remove just the outputs. Also removed the $(winlibs) macro as it wasn't being used. Stuff left to do: 1) get the winhelp target to stop building in the tools/ directory. 2) stop using rmd.bat 3) add more dependacy rules.
* * win/makefile.vc:davygrvy2002-02-211-3/+8
| | | | | | * 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-23/+42
| | | | | | | | | | | | | | | | | | | | | | | * 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: Added the pentium errata switches to $(cflags)davygrvy2002-02-201-14/+8
| | | | | | | 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.
* Further changes to the TIP 72 patch to make it compile under VC++Kevin B Kenny2002-02-151-2/+2
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-1/+3
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* Removed -GD compiler option. It was intended for future use, but MS is againdavygrvy2002-01-111-8/+4
| | | | | changing the future at their whim. The D4002 warning was harmless though, but someone using MsDev .NET logged it as a concern. [Bug: #501565]
* Some install target bugs repaired along with $(TCLSTUBLIB) added to thedavygrvy2001-12-031-64/+43
| | | | dependencies rather than implicit through the dde and reg extensions.
* Removed the Tk reference for the 'winhelp' target. Converge at install willdavygrvy2001-11-281-3/+2
| | | | need to be the solution.
* * win/makefile.vc:davygrvy2001-11-151-24/+26
| | | | | | | * win/rules.vc: Small bug fixes. * win/README: added some docs pointing to the docs in makefile.vc for it's use.
* * win/buildall.vc.bat(new):davygrvy2001-11-131-5/+18
| | | | | | * win/makefile.vc: Small fix with deriving the "OriginalFilename" string in the .rc scripts. Added a quick batchfile for building the entire thing.
* * win/makefile.vc: Added a check to make sure one runs the makefiledavygrvy2001-11-101-29/+23
| | | | | | | | from the /win directory only. * win/mkd.bat: * win/rmd.bat: Changes from Llyod Lim for better stability. [Patch #456759]
* * win/makefile.vc:davygrvy2001-11-101-55/+110
| | | | | | | | | | | | | | * win/tcl.dsp: winhelp target fixes for non-NT systems. It seems NMAKE under these remembers changed directories during commands. A new tcltest feature from Peter Spjuth <peter.spjuth@space.se> to specify a pattern file from the commandline and redirecting output to a file when not under NT with it's scrollback console. Then it replays it, piped through more. Added 2 new static "configurations" to tcl.dsp. I could keep adding more, but I think we should leave it up to the user for customizing it. Sticky-points left: 'profile' option.
* * win/rules.vc:davygrvy2001-11-081-33/+88
| | | | | | | | * 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.
* small error with the naming of the dee and reg extensions.davygrvy2001-11-081-3/+3
|
* * win/rules.vc:davygrvy2001-11-081-34/+50
| | | | | | | | * 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-292/+331
| | | | | | | | | | | | | | | | | * 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.
* added Win64 SDK RC1 compilation supporthobbs2001-10-011-13/+9
|
* * win/Makefile.in:andreas_kupries2001-09-141-3/+9
| | | | | | | | | * win/configure.in: * win/makefile.bc: * win/makefile.vc: * library/reg/pkgIndex.tcl * library/dde/pkgIndex.tcl: Fixed version numbers from bogus tcl versions to independent versions for dde and registry packages.
* * Updated http package to version 2.4,dgp2001-09-071-5/+5
| | | | reflecting the new features just added.
* * win/makefile.vc: Added -Zl (zee el) to tclStubLib.c compile linedavygrvy2001-09-031-2/+2
| | | | | | | | to make sure the tclstub84.lib static library is built without requiring a specific C-runtime library at link-time for the end-use developer. It has been noted on c.l.t that this trips many first time users trying to make extensions. [Patch: 403533]
* updated install target for dde1.2hobbs2001-08-221-4/+4
|
* * win/makefile.vc: replaced $(WINDIR) with $(include32) for thedavygrvy2001-08-161-2/+2
| | | | | .rc.res inference rule. winver.h wasn't getting included. [Bug: 445630]
* 2000-01-31 Don Porter <dgp@users.sourceforge.net>dgp2001-01-311-3/+3
| | | | | * win/makefile.vc (install-libraries): Corrected misdirected install directory for the msgcat 1.2 package.
* * tools/tcl.wse.in: updated for unversioning of library dirshobbs2000-11-031-11/+11
| | | | | | | * unix/Makefile.in (install-libraries, dist): * win/makefile.vc (install-libraries): * win/Makefile.in (install-libraries): updated to install unversioned library directories into versioned directories.
* updated default tools pathshobbs2000-11-031-14/+9
|
* makefile fixes for Win64 supporthobbs2000-11-021-22/+43
|
* 2000-10-30 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-10-311-2/+6
| | | | | | | | | * win/configure.in: * win/Makefile.in: * win/makefile.vc: * win/tcl.rc: * win/tclsh.rc: Added logic to derive filenames better in the resource scripts based on compile options.
* addition of tclIOGT.c source filehobbs2000-09-281-1/+2
|
* * win/makefile.vc:ericm2000-08-151-12/+13
| | | | | | | | | | * win/Makefile.in: * unix/Makefile.in: Added tclPlatDecls.h to the list of installed headers, for more complete stubs support. [Bug: 5241]. * generic/tcl.h: Added #include "tclPlatDecls.h" to get platform-specific stubs declarations (Tcl_WinTCharToUtf, etc) [Bug: 5241].
* * win/makefile.vc: Applied patch from Don Porter to provide betterericm2000-07-191-1/+5
| | | | nmake support for NT/Alpha [RFE: 5938].
* * README:hobbs2000-05-031-3/+3
| | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * library/reg1.0/pkgIndex.tcl: * library/tcltest1.0/tcltest.tcl: * mac/README: * tools/tcl.hpj.in: * tools/tcl.wse.in: * unix/README: * unix/configure.in: * unix/tcl.spec: * win/README: * win/README.binary: * win/configure.in: * win/makefile.vc: * win/tcl.m4: updated patchlevel to 8.4a1
* 2000-05-02 Andreas Kupries <a.kupries@westend.com>kupries2000-05-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Overall changes: (1) Implementation of joinable threads for all platforms. (2) Additional API's for channels. Required to allow the thread extension to move channels between threads. * generic/tcl.decls (lines 1360f): Added Tcl_JoinThread, Tcl_IsChannelShared, Tcl_IsChannelRegistered, Tcl_CutChannel, Tcl_SpliceChannel, Tcl_IsChannelExisting and Tcl_ClearChannelHandlers (slots 394 to 400). * generic/tclIO.c: Implemented Tcl_IsChannelRegistered, Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel, Tcl_IsChannelExisting and Tcl_ClearChannelHandlers. Tcl_CutChannel uses code from CloseChannel. Replaced this code by a call to Tcl_CutChannel. Replaced several code fragments adding channels to the channel list with calls to Tcl_SpliceChannel. Removed now unused variables from CloseChannel and Tcl_UnstackChannel. Tcl_ClearChannelHandlers uses code from Tcl_Close. Replaced this code by a call to Tcl_ClearChannelHandlers. Removed now unused variables from Tcl_Close. Added the subcommands 'cut', 'forgetch', 'splice' and 'isshared' to the test code (TclTestChannelCmd). * unix/tclUnixThread.c: Implemented Tcl_JoinThread using the pthread-functionality. * win/tclWinThrd.c: Fixed several small typos in comments. Implemented Tcl_JoinThread using a platform independent emulation layer (see generic/tclThreadJoin.c below). Added 'joinLock' to serialize Tcl_CreateThread and TclpExitThread to prevent a race for joinable threads. * mac/tclMacThrd.c: Implemented Tcl_JoinThread using a platform independent emulation layer (see generic/tclThreadJoin.c below). Due to the cooperative nature of threading on this platform the race mentioned above is not present. * generic/tclThreadJoin.c: New file. Contains a platform independent emulation layer helping in the implementation of joinable threads for the win and mac platforms. * generic/tclInt.h: Added declarations for TclJoinThread, TclRememberJoinableThread and TclSignalExitThread. These procedures define the API of the emulation layer for joinable threads (see generic/tclThreadJoin.c above). * win/Makefile.in: * win/makefile.vc: Added generic/tclTheadJoin.o to the rules. * mac/: I don't know to which file generic/tclTheadJoin.o has to be added to so that it compiles. Sorry. * unix/tclUnixChan.c: #ifdef'd the thread-local list of file channels as it prevents us from transfering channels. To restore this we may need an extended interface to drivers in the future. Target: 9.0. Found while testing the new transfer of channels. The information in this list for a channel was left behind and then crashed the system during finalization. * generic/tclThreadTest.c: Added -joinable flag to 'testthread create'. Added subcommand 'testthread join'. * doc/CrtChannel.3: Added documentation for Tcl_IsChannelRegistered, Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel, Tcl_IsChannelExisting and Tcl_ClearChannelHandlers. * doc/Thread.3: Added documentation for Tcl_JoinThread. * tests/thread.test: Added tests for joining of threads.
* * unix/Makefile.in:hobbs2000-04-251-5/+5
| | | | | | * win/Makefile.in: * win/makefile.vc: updated for http change and some cleanup * library/http2.[13]: moved dir http2.1 to http2.3 to match version
* flipped debug bithobbs2000-02-101-2/+2
|
* * win/makefile.vc: added some support for building helpfile on Windowshobbs2000-01-261-1/+24
|
* simplified makefile flagshobbs2000-01-241-13/+4
|
* * win/tclWin32Dll.c:hobbs1999-12-091-127/+51
| | | | | | | | | | | | | | | * win/tclWinChan.c: * win/tclWinFCmd.c: * win/tclWinInit.c: * win/tclWinPipe.c: * win/tclWinSock.c: removed all code that supported Win32s. It was no longer officially supported, and likely didn't work anyway. * win/makefile.vc: removed 16 bit stuff, cleaned up. * win/tcl16.rc: * win/tclWin16.c: * win/winDumpExts.c: these files have been removed from the source tree (no longer necessary to build) * win/aclocal.m4: made it just include tcl.m4
* * win/tclWinTest.c: added testvolumetype command, as atime ishobbs1999-10-291-5/+5
| | | | | completely ignored for Windows FAT file systems * win/tclWinPort.h: added sys/utime.h to includes
* * {win,mac,unix,tools,}/README:hobbs1999-10-051-3/+3
| | | | | | | | | | | | * win/README.binary: * win/makefile.vc: * {win,unix}/configure.in: * generic/tcl.h: * library/init.tcl: updated to 8.3a1 from 8.2.0. * win/tclWinReg.c: fixed registry command to properly 'get' HKEY_PERFORMANCE_DATA root key data. Needs more work. * win/tclWinSerial.c: changed SerialSetOptionProc to return TCL_OK by default. (patch from Rolf Schroedter)
* Fixed type, USE_TCL_ALLOC should be USE_TCLALLOCredman1999-08-131-2/+2
|
* Fix hange with socket code (win32) with threads enabled, fixedredman1999-07-221-2/+2
| | | | | the semaphores for threads disabled. Fixed calling of tcltest in Makefile.in (win32) and fixed safe-6.3 for threads enabled.
* * Changed version to 8.2b2.redman1999-07-221-2/+2
| | | | | | | | | | | | | | | | | | * win/tclWinPort.h: Block out include of sys/*.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * generic/tclCmdMZ.c: * generic/tclIO.c: Fix ANSI-style prototypes based on patch from Ulrich Ring. [Bug: 2391] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * tests/var.test: * generic/tclVar.c: Fixed bug that caused a seg. fault when using "array set a(b) {}", which is a bad array name anyway. Now the "array set" command will return an error in this case. Added test case and fixed existing test. [Bug: 2427]
* * win/makefile.vc: Changed version number of DDE package in VC++redman1999-07-221-4/+4
| | | | makefile to use 1.1 instead of 1.0.
* changed http package version from 2.0 to 2.1hershey1999-07-201-5/+5
|
* Makefile.in: fixed cat32.exe buildredman1999-07-131-5/+2
| | | | makefile.vc: fixed calling tcltest.exe
* Change version number in NMAKE makefileredman1999-07-111-3/+3
|
* Merged String and Unicode object types. Added new functions tohershey1999-06-151-2/+1
| | | | | | | | | the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj, Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange, Tcl_AppendUnicodeToObj. Note: some stringObj tests are still failing--the teststringobj command still needs to be updated.
* * tests/string.test:hershey1999-06-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclVar.c (Tcl_SetVar2Ex): * generic/tclStringObj.c (Tcl_AppendObjToObj): * generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string index, string length, string range, and append command in cases where the object's internal rep is a bytearray. Objects with other internal reps are converted to have the new unicode internal rep. * unix/Makefile.in: * win/Makefile.in: * win/Makefile.vc: * tests/unicode.test: * generic/tclInt.h: * generic/tclObj.c: * generic/tclUnicodeObj.c: added a new object type to store the unicode representation of a string. * generic/tclTestObj.c: added the objtype option to the testobj command. This option returns the name of the type of internal rep an object has.
* removed bad patchstanton1999-05-071-2/+2
|