Check-in [2631d4cf7d]
Overview
Comment:Updated to download TCC
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:2631d4cf7d0a21ffb61d044e8fc892614f860c33
User & Date: rkeene on 2014-05-01 23:13:12
Other Links: manifest | tags
Context
2014-05-01
23:32
Updated to build Tcc naively check-in: a319c993d9 user: rkeene tags: trunk
23:13
Updated to download TCC check-in: 2631d4cf7d user: rkeene tags: trunk
22:58
Updated to create initial directory check-in: 07b3ee6214 user: rkeene tags: trunk
Changes

Added .fossil-settings/ignore-glob version [0f084d884a].



























>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
aclocal.m4
aclocal/shobj.m4
aclocal/tcl.m4
aclocal/versionscript.m4
config.guess
config.sub
config.log
config.status
configure
install-sh
Makefile
pkgIndex.tcl
tcc/*

Modified Makefile.in from [cb04ffc8c0] to [0567345519].

39
40
41
42
43
44
45


46
47
48
49
distclean: clean
	rm -rf autom4te.cache
	rm -f config.log config.status
	rm -f pkgIndex.tcl
	rm -f Makefile

mrproper: distclean


	rm -f configure aclocal.m4
	rm -f config.guess config.sub install-sh

.PHONY: all install clean distclean mrproper







>
>




39
40
41
42
43
44
45
46
47
48
49
50
51
distclean: clean
	rm -rf autom4te.cache
	rm -f config.log config.status
	rm -f pkgIndex.tcl
	rm -f Makefile

mrproper: distclean
	rm -rf __TMP__
	rm -rf tcc
	rm -f configure aclocal.m4
	rm -f config.guess config.sub install-sh

.PHONY: all install clean distclean mrproper

Modified build/pre.sh from [7fa536bdae] to [a68c94db4c].

1
2
3
4
5
6
































#! /bin/bash

cd "$(dirname "$(which "$0")")/.." || exit 1

# Generate configure script
./build/autogen.sh






































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#! /bin/bash

cd "$(dirname "$(which "$0")")/.." || exit 1

# Generate configure script
./build/autogen.sh

# Download TCC
tcc_version='0.9.26'
tcc_url="http://download.savannah.gnu.org/releases/tinycc/tcc-${tcc_version}.tar.bz2"
tcc_sha256='521e701ae436c302545c3f973a9c9b7e2694769c71d9be10f70a2460705b6d71'
(
	rm -rf __TMP__
	mkdir __TMP__ || exit 1
	cd __TMP__ || exit 1

	wget -O 'new' "${tcc_url}" || rm -f new
	new_sha256="$(openssl sha256 new | sed 's@.*= *@@')"

	if [ "${new_sha256}" != "${tcc_sha256}" ]; then
		echo "Checksum Mismatch: Downloaded: ${new_sha256}; Expected: ${tcc_sha256}" >&2

		rm -f new

		exit 1
	fi

	mv new "tcc-${tcc_version}.tar.bz2"

	bzip2 -dc "tcc-${tcc_version}.tar.bz2" | tar -xf -

	rm -f "tcc-${tcc_version}.tar.bz2"

	rm -rf ../tcc
	mkdir ../tcc || exit 1
	mv */* ../tcc/
)
rm -rf __TMP__