-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmk_2
executable file
·102 lines (78 loc) · 2.22 KB
/
mk_2
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
./mk_clean
cd tcc_2
set -e
tcc -c tcc.c -I ../woody/usr/include/
tcc tcc.o -ldl
../check_syms.sh
cd ../tcc_10
echo "tcc_2 to tcc_10"
../tcc_2/a.out ../tcc_2/tcc.c ../tcc_2/tcc.c ../tcc_2/tcc.c -DNO_LONG_LONG ../tcc_3/tcc.c -DNO_LONG_LONG ../tcc_3/tcc.c ../tcc_3/tcc.c ../tcc_3/tcc.c ../tcc_3/tcc.c tcc.c -o tcc.o -c tcc.c
../check_syms.sh
tcc tcc.o -ldl
echo "tcc_10 to tcc_23"
cd ../tcc_23
../tcc_10/a.out -o tcc.o -c tcc.c
../tcc_10/a.out -o libtcc1_min.o -c libtcc1_min.c
tcc libtcc1_min.o tcc.o -ldl
../check_syms.sh
rm tcc.o
./a.out -c libtcc1.c
./a.out -I ../woody/usr/include/ -I . -c tcc.c
../check_syms.sh
tcc libtcc1.o tcc.o -ldl
echo "tcc_23 to tcc_24"
cd ../tcc_24
../tcc_23/a.out -I ../woody/usr/include/ -I . -c tcc.c
../tcc_23/a.out -c libtcc1.c
../check_syms.sh
tcc libtcc1.o tcc.o -ldl
echo "tcc_24 to tcc_26"
cd ../tcc_26
../tcc_24/a.out -I ../woody/usr/include/ -I include -c tcc.c -DONE_SOURCE
../tcc_24/a.out -c ../tcc_24/libtcc1.c
../check_syms.sh
tcc libtcc1.o tcc.o -ldl
./a.out -c ./lib/libtcc1.c
./a.out -I ../woody/usr/include/ -I ./include -c tcc.c -DONE_SOURCE
../check_syms.sh
tcc libtcc1.o tcc.o -ldl
rm tcc.o
rm libtcc1.o
./a.out -c ./lib/libtcc1.c
./a.out -I ../woody/usr/include/ -I ./include -c tcc.c -DONE_SOURCE
../check_syms.sh
tcc libtcc1.o tcc.o -ldl
rm tcc.o
rm libtcc1.o
./a.out -c ./lib/libtcc1.c
./a.out -I ../woody/usr/include/ -I ./include -c tcc.c -DONE_SOURCE
../check_syms.sh
tcc libtcc1.o tcc.o -ldl
echo "tcc_26 to tcc_27"
cd ../tcc_27
../tcc_26/a.out -I ../woody/usr/include/ -I ../tcc_26/include -c tcc.c -DONE_SOURCE
../tcc_26/a.out -c ../tcc_26/lib/libtcc1.c
../check_syms.sh
tcc libtcc1.o tcc.o -ldl
./a.out -c ./lib/libtcc1.c
./a.out -I ../woody/usr/include/ -I include -c tcc.c -DONE_SOURCE
../check_syms.sh
tcc libtcc1.o tcc.o -ldl
rm tcc.o
rm libtcc1.o
./a.out -c ./lib/libtcc1.c
./a.out -I ../woody/usr/include/ -I include -c tcc.c -DONE_SOURCE
../check_syms.sh
tcc libtcc1.o tcc.o -ldl
rm tcc.o
rm libtcc1.o
./a.out -c ./lib/libtcc1.c
./a.out -I ../woody/usr/include/ -I include -c tcc.c -DONE_SOURCE
../check_syms.sh
tcc libtcc1.o tcc.o -ldl
mv a.out ../artifacts/tcc_27_boot.exe
cd ..
./artifacts/tcc_27_boot.exe -v
sha256sum tcc_27/tcc.o
sha256sum tcc_27/libtcc1.o
sha256sum -c sum