Artifacts Associated With Ticket 219277
Ticket change [b0506e14d3] (rid 97958) by nobody on 2000-10-26 05:09:46:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1812 RFE Version: 8.1b3 SubmitDate: '1999-04-14' LastModified: '2000-04-02' Severity: MED Status: UnAssn Submitter: pat ChangedBy: hobbs OS: Linux-Red Hat OSVersion: 4.2 Machine: Other FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Jan Nijtmans Comments: On systems with a.out dynamical loading (e.g. Ultrix), it makes a difference if the ojects are included separately, as an archive, or with the "-l" flag. This patch takes care of that difference, making sure that the stub archive doesn't need to be present at run-time. DesiredBehavior: In the UNIX Makefile, all objects in the Stub library are also included in the static library and also linked in the shared library. This is a general rule, which is not taken advantage of, currently. The following modifications of configure.in and Makefile.in simplify the Makefile such that all objects of libtclstub8.1.a are automatically included in libtcl8.1.a and libtcl8.1.so, without the need to be specified again. Part of the TEA-summit is handling simplification of the Makefile, so this could be the first small step. After this enhancement is evaluated by Scriptics, I will submit the same enhancement for Tk as well. Patch: *** unix/Makefile.in.origWed Apr 14 19:39:44 1999 --- unix/Makefile.inWed Apr 14 19:42:22 1999 *************** *** 270,280 **** tclObj.o tclPanic.o tclParse.o tclParseExpr.o tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o tclResolve.o tclResult.o tclScan.o tclStringObj.o tclThread.o ! tclStubInit.o tclStubLib.o tclTimer.o tclUtf.o tclUtil.o tclVar.o STUB_LIB_OBJS = tclStubLib.o ${COMPAT_OBJS} ! OBJS = ${GENERIC_OBJS} ${UNIX_OBJS} ${NOTIFY_OBJS} ${COMPAT_OBJS} @DL_OBJS@ TCL_DECLS = $(GENERIC_DIR)/tcl.decls --- 270,280 ---- tclObj.o tclPanic.o tclParse.o tclParseExpr.o tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o tclResolve.o tclResult.o tclScan.o tclStringObj.o tclThread.o ! tclStubInit.o tclTimer.o tclUtf.o tclUtil.o tclVar.o STUB_LIB_OBJS = tclStubLib.o ${COMPAT_OBJS} ! OBJS = ${GENERIC_OBJS} ${UNIX_OBJS} ${NOTIFY_OBJS} @DL_OBJS@ TCL_DECLS = $(GENERIC_DIR)/tcl.decls *** unix/configure.in.origWed Apr 14 19:36:26 1999 --- unix/configure.inWed Apr 14 20:09:44 1999 *************** *** 1325,1333 **** TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}" eval "TCL_LIB_FILE=libtcl${TCL_SHARED_LIB_SUFFIX}" if test "x$DL_OBJS" = "xtclLoadAout.o"; then ! MAKE_LIB="ar cr \${TCL_LIB_FILE} \${OBJS}" else ! MAKE_LIB="\${SHLIB_LD} -o \${TCL_LIB_FILE} \${OBJS} ${SHLIB_LD_LIBS}" RANLIB=":" fi else --- 1325,1333 ---- TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}" eval "TCL_LIB_FILE=libtcl${TCL_SHARED_LIB_SUFFIX}" if test "x$DL_OBJS" = "xtclLoadAout.o"; then ! MAKE_LIB="ar cr \${TCL_LIB_FILE} \${STUB_LIB_OBJS} \${OBJS}" else ! MAKE_LIB="\${SHLIB_LD} -o \${TCL_LIB_FILE} \${OBJS} \${STUB_LIB_FILE} ${SHLIB_LD_LIBS}" RANLIB=":" fi else *************** *** 1346,1352 **** TCL_SHLIB_CFLAGS="" TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}" eval "TCL_LIB_FILE=libtcl${TCL_UNSHARED_LIB_SUFFIX}" ! MAKE_LIB="ar cr \${TCL_LIB_FILE} \${OBJS}" fi # tclConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed --- 1346,1352 ---- TCL_SHLIB_CFLAGS="" TCL_LD_SEARCH_FLAGS="${LD_SEARCH_FLAGS}" eval "TCL_LIB_FILE=libtcl${TCL_UNSHARED_LIB_SUFFIX}" ! MAKE_LIB="ar cr \${TCL_LIB_FILE} \${STUB_LIB_OBJS} \${OBJS}" fi # tclConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed PatchFiles: configure.in Makefile.in - foundin initialized to: "obsolete: 8.1b3"
- 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: "Simplification of Makefile"
- type initialized to: "RFE"
Ticket change [c5f72089d0] (rid 121681) by dkf on 2001-02-08 22:19:23:
- subsystem changed to: "53. Configuration and Build Tools"
Ticket change [6d360a48ae] (rid 128651) by hobbs on 2001-08-02 08:45:34:
- foundin changed to: "None"
- subsystem changed to: "None"
Ticket change [eb4d1fbc95] (rid 103527) by hobbs on 2002-03-23 07:49:23:
- closedate changed to: "2002-03-23T00:49:23"
- closer changed to: "hobbs"
- resolution changed to: "Out of Date"
- status changed to: "Closed"