Check-in [5f6fa113cf]
Overview
Comment:Added "tcc" package
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:5f6fa113cf73722116a63e5a6d092d1c0fa26470
User & Date: rkeene on 2011-07-25 12:27:56
Other Links: manifest | tags
Context
2011-07-25
13:52
Updated TCC to build only on ix86/x86_64 platforms Fixed bugs in TCC 0.4 with patches and build.sh updates check-in: 3e4cf5d7be user: rkeene tags: trunk
12:27
Added "tcc" package check-in: 5f6fa113cf user: rkeene tags: trunk
2011-07-22
18:48
Fixed bug in "udp" build check-in: 4788b6cc82 user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [d6ed3f72ed] to [8eb7a27854].

    22     22   server/buildpkgs/platform.magic.*/*
    23     23   server/buildpkgs/sqlite3/build
    24     24   server/buildpkgs/sqlite3/build/*
    25     25   server/buildpkgs/sqlite3/out
    26     26   server/buildpkgs/sqlite3/out/*
    27     27   server/buildpkgs/sqlite3/src
    28     28   server/buildpkgs/sqlite3/src/*
           29  +server/buildpkgs/tcc/build
           30  +server/buildpkgs/tcc/build/*
           31  +server/buildpkgs/tcc/out
           32  +server/buildpkgs/tcc/out/*
           33  +server/buildpkgs/tcc/src
           34  +server/buildpkgs/tcc/src/*
    29     35   server/buildpkgs/tcl
    30     36   server/buildpkgs/tcl/*
    31     37   server/buildpkgs/tcllib/build
    32     38   server/buildpkgs/tcllib/build/*
    33     39   server/buildpkgs/tcllib/out
    34     40   server/buildpkgs/tcllib/out/*
    35     41   server/buildpkgs/tcllib/src

Added server/buildpkgs/tcc/build.sh version [11bc7d10bb].

            1  +#! /bin/bash
            2  +
            3  +# Define parameters
            4  +VERS=0.4
            5  +SRC="src/tcltcc${VERS}.zip"
            6  +SRCURL="http://tcltcc.googlecode.com/files/tcltcc${VERS}.zip"
            7  +BUILDDIR="tcltcc-${VERS}"
            8  +export VERS SRC SRCURL BUILDDIR
            9  +
           10  +# Load common functions
           11  +source ../common.sh
           12  +
           13  +# Do not build if the "tcl" platform has been requested
           14  +not_platforms 'tcl'
           15  +
           16  +# Download source
           17  +download_src
           18  +
           19  +# Build package
           20  +(
           21  +	rm -rf build
           22  +	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
           23  +	mkdir build
           24  +
           25  +	cd build/ || exit 1
           26  +	mkdir "${BUILDDIR}"
           27  +	cd "${BUILDDIR}" || exit 1
           28  +
           29  +	unzip -q "../../${SRC}"
           30  +
           31  +	# TCC ships with object files in the way
           32  +	${MAKE:-make} distclean >/dev/null 2>/dev/null
           33  +
           34  +	bash ./configure --enable-shared --enable-threads --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}
           35  +
           36  +	${MAKE:-make} || exit 1
           37  +
           38  +	${MAKE:-make} install-binaries PKG_DIR='' || exit 1
           39  +
           40  +	rm -f "${PLATDIR}"/*.a
           41  +) || exit 1
           42  +
           43  +# Create metadata
           44  +../create_teapot "${PLATDIR}/teapot.txt" "tcc" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.4" "Tcltcc provides a Tcl binding to the TinyCC compiler. It allows dynamic compilation of C code from within a Tcl interpreter."
           45  +
           46  +exit 0