Artifacts Associated With Ticket 217975
Ticket change [643c4775b5] (rid 92722) by nobody on 2000-10-26 00:47:00:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 5307 Bug Version: 8.3 SubmitDate: '2000-05-01' LastModified: '2000-05-17' Severity: MED Status: Closed Submitter: techsupp ChangedBy: hobbs RelatedBugIDs: 5499 OS: All Windows FixedDate: '2000-10-25' ClosedDate: '2000-05-17' Name: Jan Nijtmans Comments: I didn't manage to produce working mingw executables using the TEA makefiles yet, but at least this is another step in the right direction. ReproducibleScript: When compiling Tcl 8.3.1 with the latest mingw, the following things go wrong: - cat32.exe cannot be built, because dllwrap doesn't use the VC++ specific ".obj" extension and " -link" option. - tclpip83.dll cannot be built for the same reason, and also because of the VC++-specific "-Fe" option - the resource files cannot be compiled because winres has different options than VC++'s rc. Patch: *** Makefile.in.origWed Apr 26 22:51:49 2000 --- Makefile.inSun Apr 30 19:39:58 2000 *************** *** 324,330 **** $(CC) -c $(CC_SWITCHES) $(DEPARG) $(CC_OBJNAME) $(CAT32): cat32.${OBJEXT} ! $(CC) $(CFLAGS) cat32.obj $(CC_EXENAME) -link $(LDFLAGS_CONSOLE) # The following targets are configured by autoconf to generate either # a shared library or static library --- 324,330 ---- $(CC) -c $(CC_SWITCHES) $(DEPARG) $(CC_OBJNAME) $(CAT32): cat32.${OBJEXT} ! $(CC) $(CFLAGS) cat32.${OBJEXT} $(CC_EXENAME) $(LDFLAGS_CONSOLE) # The following targets are configured by autoconf to generate either # a shared library or static library *************** *** 354,360 **** ${PIPE_DLL_FILE}: ${PIPE_OBJS} @$(RM) ${PIPE_DLL_FILE} ! $(CC) $(CFLAGS) ${PIPE_OBJS} $(LIBS) -Fe$(PIPE_DLL_FILE) # Add the object extension to the implicit rules. By default .obj is not # automatically added. --- 354,360 ---- ${PIPE_DLL_FILE}: ${PIPE_OBJS} @$(RM) ${PIPE_DLL_FILE} ! $(CC) $(CFLAGS) ${PIPE_OBJS} $(LIBS) $(CC_EXENAME) # Add the object extension to the implicit rules. By default .obj is not # automatically added. *************** *** 404,410 **** --- 404,414 ---- $(CC) -c $(CC_SWITCHES) -DBUILD_tcl ${DEPARG} $(CC_OBJNAME) .rc.res: + ifeq "$(findstring windres, $(RC))" "" $(RC) -fo $@ -r -i "$(GENERIC_DIR_NATIVE)" $(DEPARG) + else + $(RC) -O coff -o $@ --include "$(GENERIC_DIR)" $(DEPARG) + endif install: all install-binaries install-libraries install-doc *** tcl.m4.origWed Apr 26 22:51:50 2000 --- tcl.m4Sun Apr 30 19:46:36 2000 *************** *** 501,508 **** # Specify linker flags depending on the type of app being # built -- Console vs. Window. ! LDFLAGS_CONSOLE="-subsystem:console" ! LDFLAGS_WINDOW="-subsystem:windows" fi ]) --- 501,508 ---- # Specify linker flags depending on the type of app being # built -- Console vs. Window. ! LDFLAGS_CONSOLE="-link -subsystem:console" ! LDFLAGS_WINDOW="-link -subsystem:windows" fi ]) PatchFiles: win/Makefile.in win/tcl.m4 - foundin initialized to: "obsolete: 8.3"
- 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: "more Mingw fixes"
- type initialized to: "Bug"
Ticket change [092297012d] (rid 89664) by welch on 2000-10-26 08:10:57:
- closedate changed to: "2000-10-26T01:10:57"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [9153c148c9] (rid 120603) by dgp on 2001-04-05 06:54:29:
- closedate changed to: "2001-04-04T23:54:29"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"