changeset 208:2bbca7c2db60

[project @ 2002-12-08 14:34:02 by bellard] update
author bellard
date Sun, 08 Dec 2002 14:34:02 +0000
parents f80d7b61c819
children 69c9680f9fd1
files Makefile README TODO
diffstat 3 files changed, 18 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Nov 24 16:00:48 2002 +0000
+++ b/Makefile	Sun Dec 08 14:34:02 2002 +0000
@@ -9,11 +9,11 @@
 CFLAGS_P=$(CFLAGS) -pg -static -DCONFIG_TCC_STATIC
 LIBS_P=
 
-CFLAGS+=-m386 -malign-functions=0
+CFLAGS+=-m386 -malign-functions=0 -mpreferred-stack-boundary=2
 CFLAGS+=-DCONFIG_TCC_PREFIX=\"$(prefix)\"
 DISAS=objdump -d
 INSTALL=install
-VERSION=0.9.14
+VERSION=0.9.15
 
 # run local version of tcc with local libraries and includes
 TCC=./tcc -B. -I.
@@ -164,6 +164,9 @@
 libtcc_test: libtcc_test.c libtcc.a 
 	gcc $(CFLAGS) -I. -o $@ $< -L. -ltcc -ldl
 
+libtest: libtcc_test
+	./libtcc_test
+
 # targets for development
 
 %.bin: %.c tcc
--- a/README	Sun Nov 24 16:00:48 2002 +0000
+++ b/README	Sun Dec 08 14:34:02 2002 +0000
@@ -35,6 +35,11 @@
 Type 'make install' to compile and install tcc in /usr/local/bin and
 /usr/local/lib/tcc.
 
+Or type 'make all' to only compile it.
+
+Type 'make libinstall' to compile and install libtcc.
+Or type 'make libtcc_test' to only compile it.
+
 2) Introduction
 
 We assume here that you know ANSI C. Look at the example ex1.c to know
@@ -68,7 +73,7 @@
 tcc.c: TCC can of course compile itself. Used to check the code
 generator.
 
-prog.c: auto test for TCC which tests many subtle possible bugs. Used
+tcctest.c: auto test for TCC which tests many subtle possible bugs. Used
 when doing 'make test'.
 
 4) Full Documentation
--- a/TODO	Sun Nov 24 16:00:48 2002 +0000
+++ b/TODO	Sun Dec 08 14:34:02 2002 +0000
@@ -1,12 +1,15 @@
 TODO list:
 
-- finish varargs.h support
+- add statment expressions (linux kernel compilation)
+- implement minimal 'asm' extension (linux kernel compilation)
+- handle static inline, then normal prototype.
+- support link once trick (gcc 3.2 / glibc compilation issue)
+- finish varargs.h support (gcc 3.2 testsuite issue)
 - add alloca()
 - fix static functions declared inside block
 - fix bitfield binary operations
-- C99: add variable size arrays
-- C99: add complex types
-- GCC: add statment expressions
+- C99: add variable size arrays (gcc 3.2 testsuite issue)
+- C99: add complex types (gcc 3.2 testsuite issue)
 - ignore __extension__ keyword (see 20010328-1.c). 
 - Add __restrict keyword (20010611-1.c).
 - postfix compound literals (see 20010124-1.c)
@@ -17,7 +20,6 @@
 - test includes in libtcc_test.
 - look at GCC 3.2 compatibility problems.
 - add option for auto run
-- implement minimal 'asm' extension
 - setjmp is not supported properly in bound checking.
 - better local variables handling (needed for other targets)
 - fix bound check code with '&' on local variables (currently done