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
99 CFLAGS_P=$(CFLAGS) -pg -static -DCONFIG_TCC_STATIC
1010 LIBS_P=
1111
12−CFLAGS+=-m386 -malign-functions=0
12+CFLAGS+=-m386 -malign-functions=0 -mpreferred-stack-boundary=2
1313 CFLAGS+=-DCONFIG_TCC_PREFIX=\"$(prefix)\"
1414 DISAS=objdump -d
1515 INSTALL=install
16−VERSION=0.9.14
16+VERSION=0.9.15
1717
1818 # run local version of tcc with local libraries and includes
1919 TCC=./tcc -B. -I.
@@ -164,6 +164,9 @@ libtcc.a: libtcc.o · 144 unmodified lines
164164 libtcc_test: libtcc_test.c libtcc.a
165165 gcc $(CFLAGS) -I. -o $@ $< -L. -ltcc -ldl
166166
167+libtest: libtcc_test
168+ ./libtcc_test
169+
167170 # targets for development
168171
169172 %.bin: %.c tcc
README+6−1
@@ -35,6 +35,11 @@ Documentation: · 34 unmodified lines
3535 Type 'make install' to compile and install tcc in /usr/local/bin and
3636 /usr/local/lib/tcc.
3737
38+Or type 'make all' to only compile it.
39+
40+Type 'make libinstall' to compile and install libtcc.
41+Or type 'make libtcc_test' to only compile it.
42+
3843 2) Introduction
3944
4045 We 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
6873 tcc.c: TCC can of course compile itself. Used to check the code
6974 generator.
7075
71−prog.c: auto test for TCC which tests many subtle possible bugs. Used
76+tcctest.c: auto test for TCC which tests many subtle possible bugs. Used
7277 when doing 'make test'.
7378
7479 4) Full Documentation
TODO+7−5
@@ -1,12 +1,15 @@
11 TODO list:
22
3−- finish varargs.h support
3+- 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)
48 - add alloca()
59 - fix static functions declared inside block
610 - fix bitfield binary operations
7−- C99: add variable size arrays
8−- C99: add complex types
9−- GCC: add statment expressions
11+- C99: add variable size arrays (gcc 3.2 testsuite issue)
12+- C99: add complex types (gcc 3.2 testsuite issue)
1013 - ignore __extension__ keyword (see 20010328-1.c).
1114 - Add __restrict keyword (20010611-1.c).
1215 - postfix compound literals (see 20010124-1.c)
@@ -17,7 +20,6 @@ TODO list: · 4 unmodified lines
1720 - test includes in libtcc_test.
1821 - look at GCC 3.2 compatibility problems.
1922 - add option for auto run
20−- implement minimal 'asm' extension
2123 - setjmp is not supported properly in bound checking.
2224 - better local variables handling (needed for other targets)
2325 - 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