Check-in [64d5a347c2]
Overview
Comment:Updated kitsh to use CFLAGS/CPPFLAGS/LDFLAGS

Updated kitsh comments

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:64d5a347c2a56a6853a68ae50800d0a07d00e847
User & Date: rkeene on 2010-09-26 04:37:24
Other Links: manifest | tags
Context
2010-09-26
04:37
Added stripping of debugging symbols for Tk/Itcl check-in: 89d8ca3eb2 user: rkeene tags: trunk
04:37
Updated kitsh to use CFLAGS/CPPFLAGS/LDFLAGS

Updated kitsh comments check-in: 64d5a347c2 user: rkeene tags: trunk

04:37
Cleaned up false error check-in: 082204b4b8 user: rkeene tags: trunk
Changes

Modified kitsh/build.sh from [f1a428a7f8] to [5e562476b7].

    23     23   
    24     24   
    25     25   (
    26     26   	cp -r 'buildsrc' 'build'
    27     27   	cd "${BUILDDIR}" || exit 1
    28     28   
    29     29   	# Compile all objects...
    30         -	## XXX
    31         -	${CC:-cc} -I${TCLCONFIGDIR} -I${TCLCONFIGDIR}/../generic -o kit *.c $(find "${OTHERPKGSDIR}" -name '*.a' | grep '/inst/') -lz -lm -ldl  -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
           30  +	## TODO: XXX: Need to replace this with a configure script
           31  +	${CC:-cc} ${CPPFLAGS} ${CFLAGS} -I${TCLCONFIGDIR} -I${TCLCONFIGDIR}/../generic -o kit *.c $(find "${OTHERPKGSDIR}" -name '*.a' | grep '/inst/') ${LDFLAGS} -lz -lm -ldl  -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
           32  +	strip kit >/dev/null 2>/dev/null
    32     33   
    33     34   	# Create VFS directory
    34     35   	mkdir "starpack.vfs"
    35     36   	mkdir "starpack.vfs/lib"
    36     37   
    37     38   	## Copy in all built directories
    38     39   	cp -r "${OTHERPKGSDIR}"/*/out/* 'starpack.vfs/'
................................................................................
    42     43   
    43     44   	## Install "boot.tcl"
    44     45   	cp 'boot.tcl' 'starpack.vfs/'
    45     46   
    46     47   	# Intall VFS onto kit
    47     48   	if echo 'exit 0' | tclkit >/dev/null 2>/dev/null; then
    48     49   		## Install using existing Tclkit
           50  +		### Call installer
    49     51   		tclkit installvfs.tcl kit starpack.vfs
    50     52   	else
    51         -		## Bootstrap
           53  +		## Bootstrap (cannot cross-compile)
    52     54   		### Copy installed data for packages
    53     55   		mkdir "installed-pkgs"
    54     56   		cp -r "${OTHERPKGSDIR}"/*/inst/* 'installed-pkgs/'
    55     57   
    56     58   		### Call installer
    57     59   		${TCLCONFIGDIR}/tclsh installvfs.tcl kit starpack.vfs
    58     60   	fi
    59     61   
    60     62   ) || exit 1
    61     63   
    62     64   exit 0