Check-in [cd75207dd1]
Overview
Comment:Updated to latest tcc4tcl and request no dlopen() symbol from TCC unless we likely will not have one
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:cd75207dd162fe04833a0d6334a6159c81ca36eb
User & Date: rkeene on 2014-05-22 05:14:23
Other Links: manifest | tags
Context
2014-05-22
05:53
Updated static build script to use MUSL instead of dietlibc since MUSL is more complete check-in: df5e53167e user: rkeene tags: trunk
05:14
Updated to latest tcc4tcl and request no dlopen() symbol from TCC unless we likely will not have one check-in: cd75207dd1 user: rkeene tags: trunk
2014-05-21
03:57
Updated to build Linux test as RHEL5 as well as allow user to specify individual targets check-in: 823074a385 user: rkeene tags: trunk
Changes

Modified tcc4tcl/build.sh from [59f44c8b6b] to [1869601c95].

     7      7   fi
     8      8   if [ -z "${TCLVERS}" ]; then
     9      9   	echo 'ERROR: The TCLVERS environment variable is not set' >&2
    10     10   
    11     11   	exit 1
    12     12   fi
    13     13   
    14         -TCC4TCLVERS="0.11"
           14  +TCC4TCLVERS="0.13"
    15     15   SRC="src/tcc4tcl-${TCC4TCLVERS}.tar.gz"
    16     16   SRCURL="http://rkeene.org/devel/tcc4tcl/tcc4tcl-${TCC4TCLVERS}.tar.gz"
    17     17   BUILDDIR="$(pwd)/build/tcc4tcl-${TCC4TCLVERS}"
    18     18   OUTDIR="$(pwd)/out"
    19     19   INSTDIR="$(pwd)/inst"
    20     20   PATCHDIR="$(pwd)/patches"
    21     21   export TCC4TCLVERS SRC SRCURL BUILDDIR OUTDIR INSTDIR PATCHDIR
................................................................................
    73     73   	elif [ "${STATICTCC4TCL}" = "-1" ]; then
    74     74   		# Require shared object if requested
    75     75   		tryopts="--enable-shared"
    76     76   	else
    77     77   		# Default to building statically
    78     78   		tryopts="--disable-shared"
    79     79   	fi
           80  +
           81  +	if echo " ${CONFIGUREEXTRA} " | grep ' --disable-load ' >/dev/null; then
           82  +		dlopen_flag="--with-dlopen"
           83  +	else
           84  +		dlopen_flag="--without-dlopen"
           85  +	fi
    80     86   
    81     87   	SAVE_CFLAGS="${CFLAGS}"
    82     88   	for tryopt in $tryopts __fail__; do
    83     89   		# Clean up, if needed
    84     90   		make distclean >/dev/null 2>/dev/null
    85     91   		rm -rf "${INSTDIR}"
    86     92   		mkdir "${INSTDIR}"
................................................................................
   100    106   		if [ "${isshared}" = "0" -a "${KITTARGET}" = "kitdll" ]; then
   101    107   			CFLAGS="${SAVE_CFLAGS} -fPIC"
   102    108   		else
   103    109   			CFLAGS="${SAVE_CFLAGS}"
   104    110   		fi
   105    111   
   106    112   		(
   107         -			echo "Running: ./configure $tryopt --prefix=\"${INSTDIR}\" --exec-prefix=\"${INSTDIR}\" --libdir=\"${INSTDIR}/lib\" --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
   108         -			./configure $tryopt --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --libdir="${INSTDIR}/lib" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
          113  +			echo "Running: ./configure $tryopt --prefix=\"${INSTDIR}\" --exec-prefix=\"${INSTDIR}\" --libdir=\"${INSTDIR}/lib\" --with-tcl=\"${TCLCONFIGDIR}\" ${dlopen_flag} ${CONFIGUREEXTRA}"
          114  +			./configure $tryopt --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --libdir="${INSTDIR}/lib" --with-tcl="${TCLCONFIGDIR}" ${dlopen_flag} ${CONFIGUREEXTRA}
   109    115   
   110    116   			echo "Running: ${MAKE:-make}"
   111    117   			${MAKE:-make} || exit 1
   112    118   
   113    119   			echo "Running: ${MAKE:-make} install"
   114    120   			${MAKE:-make} install || exit 1
   115    121   		) || continue