Tcl Source Code

Check-in [a5fc9b9513]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:link tclsh with stub library, just like xttest and tcltest, in order to allow additional static stub-enabled libraries to be linked with it.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a5fc9b95130c640a8f8dfacb67e466ebd6755fc9
User & Date: jan.nijtmans 2013-06-16 20:48:57
Context
2013-06-17
04:41
On 32-bit platforms, 12 characters for version is enough, on 64-bit platforms it will be aligned to ... check-in: 2c3567ce0e user: jan.nijtmans tags: trunk
2013-06-16
20:48
link tclsh with stub library, just like xttest and tcltest, in order to allow additional static stub... check-in: a5fc9b9513 user: jan.nijtmans tags: trunk
20:32
split off TclInitStubTable() as separate function - which does the actual stub table initialization ... check-in: e04a3d09f8 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to unix/Makefile.in.

629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
# The dependency on OBJS is not there because we just want the list of objects
# here, not actually building them
tclLibObjs:
	@echo ${OBJS}
# This targets actually build the objects needed for the lib in the above case
objs: ${OBJS}

${TCL_EXE}: ${TCLSH_OBJS} ${TCL_LIB_FILE}
	${CC} ${CFLAGS} ${LDFLAGS} ${TCLSH_OBJS} \
		@TCL_BUILD_LIB_SPEC@ ${LIBS} @EXTRA_TCLSH_LIBS@ \
		${CC_SEARCH_FLAGS} -o ${TCL_EXE}

# Must be empty so it doesn't conflict with rule for ${TCL_EXE} above
${NATIVE_TCLSH}:

Makefile: $(UNIX_DIR)/Makefile.in $(DLTEST_DIR)/Makefile.in
	$(SHELL) config.status







|

|







629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
# The dependency on OBJS is not there because we just want the list of objects
# here, not actually building them
tclLibObjs:
	@echo ${OBJS}
# This targets actually build the objects needed for the lib in the above case
objs: ${OBJS}

${TCL_EXE}: ${TCLSH_OBJS} ${TCL_LIB_FILE} ${TCL_STUB_LIB_FILE}
	${CC} ${CFLAGS} ${LDFLAGS} ${TCLSH_OBJS} \
		@TCL_BUILD_LIB_SPEC@ ${TCL_STUB_LIB_FILE} ${LIBS} @EXTRA_TCLSH_LIBS@ \
		${CC_SEARCH_FLAGS} -o ${TCL_EXE}

# Must be empty so it doesn't conflict with rule for ${TCL_EXE} above
${NATIVE_TCLSH}:

Makefile: $(UNIX_DIR)/Makefile.in $(DLTEST_DIR)/Makefile.in
	$(SHELL) config.status