forked from Mirrors/tinycc
update
parent
77db7175ca
commit
6933ac641f
10
Makefile
10
Makefile
|
@ -11,7 +11,7 @@ LIBS_P=
|
||||||
CFLAGS+=-m386 -malign-functions=0
|
CFLAGS+=-m386 -malign-functions=0
|
||||||
DISAS=objdump -d
|
DISAS=objdump -d
|
||||||
INSTALL=install
|
INSTALL=install
|
||||||
VERSION=0.9.4
|
VERSION=0.9.5
|
||||||
|
|
||||||
all: tcc
|
all: tcc
|
||||||
|
|
||||||
|
@ -92,7 +92,8 @@ install: tcc
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ *.o tcc tcc1 tcct tcc_g tcctest.ref *.bin *.i ex2 \
|
rm -f *~ *.o tcc tcc1 tcct tcc_g tcctest.ref *.bin *.i ex2 \
|
||||||
core gmon.out test.out test.ref a.out tcc_p
|
core gmon.out test.out test.ref a.out tcc_p \
|
||||||
|
*.exe iltcc iltcc_g
|
||||||
|
|
||||||
# IL TCC
|
# IL TCC
|
||||||
|
|
||||||
|
@ -131,9 +132,12 @@ tar:
|
||||||
rm -rf /tmp/$(FILE)
|
rm -rf /tmp/$(FILE)
|
||||||
cp -r ../tcc /tmp/$(FILE)
|
cp -r ../tcc /tmp/$(FILE)
|
||||||
( cd /tmp ; tar zcvf ~/$(FILE).tar.gz \
|
( cd /tmp ; tar zcvf ~/$(FILE).tar.gz \
|
||||||
$(FILE)/Makefile $(FILE)/README $(FILE)/TODO $(FILE)/COPYING \
|
$(FILE)/Makefile $(FILE)/Makefile.uClibc \
|
||||||
|
$(FILE)/README $(FILE)/TODO $(FILE)/COPYING \
|
||||||
$(FILE)/Changelog $(FILE)/tcc-doc.html \
|
$(FILE)/Changelog $(FILE)/tcc-doc.html \
|
||||||
$(FILE)/tcc.c $(FILE)/i386-gen.c $(FILE)/bcheck.c \
|
$(FILE)/tcc.c $(FILE)/i386-gen.c $(FILE)/bcheck.c \
|
||||||
|
$(FILE)/il-opcodes.h $(FILE)/il-gen.c \
|
||||||
|
$(FILE)/elf.h $(FILE)/stab.h $(FILE)/stab.def \
|
||||||
$(FILE)/stddef.h $(FILE)/stdarg.h $(FILE)/stdbool.h $(FILE)/float.h \
|
$(FILE)/stddef.h $(FILE)/stdarg.h $(FILE)/stdbool.h $(FILE)/float.h \
|
||||||
$(FILE)/tcclib.h \
|
$(FILE)/tcclib.h \
|
||||||
$(FILE)/ex*.c $(FILE)/tcctest.c $(FILE)/boundtest.c )
|
$(FILE)/ex*.c $(FILE)/tcctest.c $(FILE)/boundtest.c )
|
||||||
|
|
4
README
4
README
|
@ -8,7 +8,7 @@ Features:
|
||||||
rescue disks.
|
rescue disks.
|
||||||
|
|
||||||
- FAST! tcc generates optimized x86 code. No byte code
|
- FAST! tcc generates optimized x86 code. No byte code
|
||||||
overhead. Compiles, assemble and link about 7 times faster than 'gcc
|
overhead. Compile, assemble and link about 7 times faster than 'gcc
|
||||||
-O0'.
|
-O0'.
|
||||||
|
|
||||||
- UNLIMITED! Any C dynamic library can be used directly. TCC is
|
- UNLIMITED! Any C dynamic library can be used directly. TCC is
|
||||||
|
@ -40,8 +40,6 @@ Type 'make install' to compile and install tcc in /usr/local/bin and
|
||||||
We assume here that you know ANSI C. Look at the example ex1.c to know
|
We assume here that you know ANSI C. Look at the example ex1.c to know
|
||||||
what the programs look like.
|
what the programs look like.
|
||||||
|
|
||||||
The main limitation of tcc is that you cannot use floats.
|
|
||||||
|
|
||||||
The include file <tcclib.h> can be used if you want a small basic libc
|
The include file <tcclib.h> can be used if you want a small basic libc
|
||||||
include support (especially useful for floppy disks). Of course, you
|
include support (especially useful for floppy disks). Of course, you
|
||||||
can also use standard headers, although they are slower to compile.
|
can also use standard headers, although they are slower to compile.
|
||||||
|
|
Loading…
Reference in New Issue