Artifacts Associated With Ticket 217937
Ticket change [43374d4865] (rid 116520) by nobody on 2000-10-26 00:46:19:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 3515 RFE Version: 8.3b1 SubmitDate: '1999-11-08' LastModified: '2000-02-01' Severity: LOW Status: Closed Submitter: techsupp ChangedBy: hobbs RelatedBugIDs: 2390 OS: Windows 2000 OSVersion: build 2128 (RC2) FixedDate: '2000-10-25' ClosedDate: '2000-02-01' Name: David Gravereaux CVS: makefile.vc,v 1.45 1999/10/29 03:05:12 hobbs Exp DesiredBehavior: The MS Platform SDK (http://msdn.microsoft.com/developer/sdk/) contains a new linker, windows' include and library files. This patch allows Tcl to be built with the newer components than what VC++ has. Patch: Index: makefile.vc =================================================================== RCS file: /cvsroot/tcl/win/makefile.vc,v retrieving revision 1.45 diff -c -r1.45 makefile.vc *** makefile.vc1999/10/29 03:05:121.45 --- makefile.vc1999/11/08 22:35:59 *************** *** 41,46 **** --- 41,50 ---- INSTALLDIR= c:\Progra~1\Tcl + # where's the Platform SDK? + # leave this macro blank if you don't have it. + PLATSDK = c:\Progra~1\platfo~1 + # Set this to the appropriate value of /MACHINE: for your platform MACHINE= IX86 *************** *** 207,217 **** TCLSTUBOBJS = $(TMPDIR)\tclStubLib.obj cc32= "$(TOOLS32)\bin\cl.exe" - link32= "$(TOOLS32)\bin\link.exe" rc32= "$(TOOLS32_rc)\bin\rc.exe" ! include32= -I"$(TOOLS32)\include" ! lib32= "$(TOOLS32)\bin\lib.exe" cc16= "$(TOOLS16)\bin\cl.exe" link16= "$(TOOLS16)\bin\link.exe" --- 211,244 ---- TCLSTUBOBJS = $(TMPDIR)\tclStubLib.obj + # if the platform SDK is available, we use that linker instead. + # + !if "$(PLATSDK)" == "" + link32 = "$(TOOLS32)\bin\link.exe" + cvtres32 = "$(TOOLS32)\bin\cvtres.exe" + lib32 = "$(TOOLS32)\bin\lib.exe" + cvpack32 = "$(TOOLS32)\bin\cvpack.exe" + cc64 = + cvtres64 = + !else + link32 = "$(PLATSDK)\bin\Link\link.exe" + cvtres32 = "$(PLATSDK)\bin\Link\cvtres.exe" + lib32 = "$(PLATSDK)\bin\Link\lib.exe" + cvpack32 = "$(PLATSDK)\bin\Link\cvpack.exe" + cc64 = "$(PLATSDK)\bin\Win64\cl.exe" + cvtres64 = "$(PLATSDK)\bin\Win64\cvtres.exe" + !endif + cc32= "$(TOOLS32)\bin\cl.exe" rc32= "$(TOOLS32_rc)\bin\rc.exe" ! ! libpath32 = /LIBPATH:"$(TOOLS32)\lib" ! include32 = -I"$(TOOLS32)\include" ! ! !if "$(PLATSDK)" != "" ! libpath32 = /LIBPATH:$(PLATSDK)\lib $(libpath32) ! include32 = -I"$(PLATSDK)\include" $(include32) ! !endif cc16= "$(TOOLS16)\bin\cl.exe" link16= "$(TOOLS16)\bin\link.exe" *************** *** 241,247 **** !ENDIF # declarations common to all linker options ! lcommon = /NODEFAULTLIB /RELEASE /NOLOGO # declarations for use on Intel i386, i486, and Pentium systems !IF "$(MACHINE)" == "IX86" --- 268,274 ---- !ENDIF # declarations common to all linker options ! lcommon = /NODEFAULTLIB /NOLOGO $(libpath32) # declarations for use on Intel i386, i486, and Pentium systems !IF "$(MACHINE)" == "IX86" *************** *** 331,344 **** $(DUMPEXTS): $(WINDIR)\winDumpExts.c $(cc32) $(CON_CFLAGS) -Fo$(TMPDIR)\ $? - set LIB="$(TOOLS32)\lib" $(link32) $(ldebug) $(conlflags) $(guilibs) -out:$@ $(TMPDIR)\winDumpExts.obj $(TCLLIB): $(TCLDLL) $(TCLDLL): $(TCLOBJS) $(TMPDIR)\tcl.def $(TMPDIR)\tcl.res - set LIB="$(TOOLS32)\lib" $(link32) $(ldebug) $(dlllflags) -def:$(TMPDIR)\tcl.def -out:$@ $(TMPDIR)\tcl.res $(guilibsdll) @<< $(TCLOBJS) --- 358,369 ---- *************** *** 350,373 **** $(TCLPLUGINLIB): $(TCLPLUGINDLL) $(TCLPLUGINDLL): $(TCLOBJS) $(TMPDIR)\plugin.def $(TMPDIR)\tcl.res - set LIB="$(TOOLS32)\lib" $(link32) $(ldebug) $(dlllflags) -def:$(TMPDIR)\plugin.def -out:$@ $(TMPDIR)\tcl.res $(guilibsdll) @<< $(TCLOBJS) << $(TCLSH): $(TCLSHOBJS) $(TCLLIB) $(TMPDIR)\tclsh.res - set LIB="$(TOOLS32)\lib" $(link32) $(ldebug) $(conlflags) $(TMPDIR)\tclsh.res -stack:2300000 -out:$@ $(conlibsdll) $(TCLLIB) $(TCLSHOBJS) $(TCLSHP): $(TCLSHOBJS) $(TCLPLUGINLIB) $(TMPDIR)\tclsh.res - set LIB=$(TOOLS32)\lib $(link32) $(ldebug) $(conlflags) $(TMPDIR)\tclsh.res -stack:2300000 -out:$@ $(conlibsdll) $(TCLPLUGINLIB) $(TCLSHOBJS) $(TCLTEST): $(TCLTESTOBJS) $(TCLLIB) $(TMPDIR)\tclsh.res - set LIB="$(TOOLS32)\lib" $(link32) $(ldebug) $(conlflags) $(TMPDIR)\tclsh.res -stack:2300000 -out:$@ $(conlibsdll) $(TCLLIB) $(TCLTESTOBJS) --- 375,394 ---- *************** *** 396,417 **** $(TCLPIPEDLL): $(WINDIR)\stub16.c $(cc32) $(CON_CFLAGS) -Fo$(TMPDIR)\ $(WINDIR)\stub16.c - set LIB="$(TOOLS32)\lib" $(link32) $(ldebug) $(conlflags) -out:$@ $(TMPDIR)\stub16.obj $(guilibs) $(TCLDDEDLL): $(TMPDIR)\tclWinDde.obj $(TCLSTUBLIB) - set LIB="$(TOOLS32)\lib" $(link32) $(ldebug) $(dlllflags) -out:$@ $(TMPDIR)\tclWinDde.obj $(conlibsdll) $(TCLSTUBLIB) $(TCLREGDLL): $(TMPDIR)\tclWinReg.obj $(TCLSTUBLIB) - set LIB="$(TOOLS32)\lib" $(link32) $(ldebug) $(dlllflags) -out:$@ $(TMPDIR)\tclWinReg.obj $(conlibsdll) $(TCLSTUBLIB) $(CAT32): $(WINDIR)\cat.c $(cc32) $(CON_CFLAGS) -Fo$(TMPDIR)\ $? - set LIB="$(TOOLS32)\lib" $(link32) $(conlflags) -out:$@ -stack:16384 $(TMPDIR)\cat.obj $(conlibs) $(CAT16): $(WINDIR)\cat.c --- 417,434 ---- PatchFiles: win/makefile.vc Some of these fixes were already applied as per bug 2390, and the Win64 bits have another entry point in the new makefile (looks different, but works for our default installed Win64 compiler env). -- 02/01/2000 hobbs
- foundin initialized to: "obsolete: 8.3b1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "75. Tutorial"
- title initialized to: "makefile.vc ehancement to support the Platform SDK"
- type initialized to: "Bug"
Ticket change [3622fe4ddf] (rid 107066) by welch on 2000-10-26 08:10:54:
- closedate changed to: "2000-10-26T01:10:54"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [97667aa42f] (rid 106489) by dgp on 2001-04-05 06:55:07:
- closedate changed to: "2001-04-04T23:55:07"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"