Overview
| Artifact ID: | 2ffde51c3be5da7033ee177fce57c394d3a1ae6f |
|---|---|
| Ticket: | 218753ffffffffffffffffffffffffffffffffff
winDumpExts.c does not declare LIBRARY |
| User & Date: | nobody on 2000-10-26 01:04:58 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1998 Bug Version: 8.1 SubmitDate: '1999-05-06' LastModified: '1999-05-07' Severity: MED Status: Released Submitter: pat ChangedBy: stanton OS: Windows NT Machine: X86 FixedDate: '1999-05-07' FixedInVersion: 8.1.1 ClosedDate: '2000-10-25' Name: Petteri Kettunen CVS: May 5, 1999 Extensions: None CustomShell: None (source from Scriptics CVS). Comments: With this patch there is less error marginal for mixing up exes and dlls. ReproducibleScript: Build tcl81.lib using "lib.exe" (not the way it is done in makefile.vc), then link tcl81.lib and tclAppInit.obj to tclsh81.exe: "link.exe -nologo" -debug:full -debugtype:cv /NODEFAULTLIB /RELEASE /NOL OGO /MACHINE:IX86 -subsystem:console -entry:mainCRTStartup .\..\obj\tcl\tclsh .res -stack:2300000 -out:..\..\bin\tclsh81.exe msvcrt.lib oldnames.lib kerne l32.lib advapi32.lib user32.lib ..\lib32i\tcl81.lib .\..\obj32i\tcl\tclAppInit. obj ObservedBehavior: When you start tclsh81.exe, the run stops when tclsh81.exe can not find tcl.dll. DesiredBehavior: tclsh81.exe started ok. Patch: C:\oke\src\tcl>diff winDumpExts.c winDumpExts.c.old 477d476 < fprintf(fout, "LIBRARY TCL%d\n", TCL_LIB_VERSION); Modify also makefile.vc in order to get the version info: $(DUMPEXTS): $(WINDIR)\winDumpExts.c $(cc32) $(CON_CFLAGS) -DTCL_LIB_VERSION=$(VERSION) -Fo$(TMPDIR)\ $? $(link32) $(ldebug) $(conlflags) $(guilibs) -out:$@ $(TMPDIR)\winDumpExts.obj With these modifications, the tcl.def looks like: LIBRARY TCL81 EXPORTS .... PatchFiles: winDumpExts.c makefile.vc - foundin changed to: "obsolete: 8.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "winDumpExts.c does not declare LIBRARY"
- type changed to: "Bug"