History

update

bellard committed 23 years ago

Commit dc685c61 parent abf909e3 files · +18 −8Browse files

Unified · Split

3 files
  1. Makefile +5 −2
  2. README +6 −1
  3. TODO +7 −5
Makefile+5−2
@@ -9,11 +9,11 @@ LIBS=-ldl · 8 unmodified lines
9CFLAGS_P=$(CFLAGS) -pg -static -DCONFIG_TCC_STATIC9CFLAGS_P=$(CFLAGS) -pg -static -DCONFIG_TCC_STATIC
10LIBS_P=10LIBS_P=
11 11
12CFLAGS+=-m386 -malign-functions=012CFLAGS+=-m386 -malign-functions=0 -mpreferred-stack-boundary=2
13CFLAGS+=-DCONFIG_TCC_PREFIX=\"$(prefix)\"13CFLAGS+=-DCONFIG_TCC_PREFIX=\"$(prefix)\"
14DISAS=objdump -d14DISAS=objdump -d
15INSTALL=install15INSTALL=install
16VERSION=0.9.1416VERSION=0.9.15
17 17
18# run local version of tcc with local libraries and includes18# run local version of tcc with local libraries and includes
19TCC=./tcc -B. -I.19TCC=./tcc -B. -I.
@@ -164,6 +164,9 @@ libtcc.a: libtcc.o · 144 unmodified lines
164libtcc_test: libtcc_test.c libtcc.a 164libtcc_test: libtcc_test.c libtcc.a
165 gcc $(CFLAGS) -I. -o $@ $< -L. -ltcc -ldl165 gcc $(CFLAGS) -I. -o $@ $< -L. -ltcc -ldl
166 166
167libtest: libtcc_test
168 ./libtcc_test
169
167# targets for development170# targets for development
168 171
169%.bin: %.c tcc172%.bin: %.c tcc
README+6−1
@@ -35,6 +35,11 @@ Documentation: · 34 unmodified lines
35Type 'make install' to compile and install tcc in /usr/local/bin and35Type 'make install' to compile and install tcc in /usr/local/bin and
36/usr/local/lib/tcc.36/usr/local/lib/tcc.
37 37
38Or type 'make all' to only compile it.
39
40Type 'make libinstall' to compile and install libtcc.
41Or type 'make libtcc_test' to only compile it.
42
382) Introduction432) Introduction
39 44
40We assume here that you know ANSI C. Look at the example ex1.c to know45We assume here that you know ANSI C. Look at the example ex1.c to know
@@ -68,7 +73,7 @@ ex5.c: 'hello world' with standard glibc headers. · 27 unmodified lines
68tcc.c: TCC can of course compile itself. Used to check the code73tcc.c: TCC can of course compile itself. Used to check the code
69generator.74generator.
70 75
71prog.c: auto test for TCC which tests many subtle possible bugs. Used76tcctest.c: auto test for TCC which tests many subtle possible bugs. Used
72when doing 'make test'.77when doing 'make test'.
73 78
744) Full Documentation794) Full Documentation
TODO+7−5
@@ -1,12 +1,15 @@
1TODO list:1TODO list:
2 2
3- finish varargs.h support3- add statment expressions (linux kernel compilation)
4- implement minimal 'asm' extension (linux kernel compilation)
5- handle static inline, then normal prototype.
6- support link once trick (gcc 3.2 / glibc compilation issue)
7- finish varargs.h support (gcc 3.2 testsuite issue)
4- add alloca()8- add alloca()
5- fix static functions declared inside block9- fix static functions declared inside block
6- fix bitfield binary operations10- fix bitfield binary operations
7- C99: add variable size arrays11- C99: add variable size arrays (gcc 3.2 testsuite issue)
8- C99: add complex types12- C99: add complex types (gcc 3.2 testsuite issue)
9- GCC: add statment expressions
10- ignore __extension__ keyword (see 20010328-1.c). 13- ignore __extension__ keyword (see 20010328-1.c).
11- Add __restrict keyword (20010611-1.c).14- Add __restrict keyword (20010611-1.c).
12- postfix compound literals (see 20010124-1.c)15- postfix compound literals (see 20010124-1.c)
@@ -17,7 +20,6 @@ TODO list: · 4 unmodified lines
17- test includes in libtcc_test.20- test includes in libtcc_test.
18- look at GCC 3.2 compatibility problems.21- look at GCC 3.2 compatibility problems.
19- add option for auto run22- add option for auto run
20- implement minimal 'asm' extension
21- setjmp is not supported properly in bound checking.23- setjmp is not supported properly in bound checking.
22- better local variables handling (needed for other targets)24- better local variables handling (needed for other targets)
23- fix bound check code with '&' on local variables (currently done25- fix bound check code with '&' on local variables (currently done

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t