aboutsummaryrefslogtreecommitdiff
path: root/TODO
Commit message (Collapse)AuthorAgeFilesLines
* remove doubled prototypeUrs Janssen2013-02-181-1/+0
| | | | | fix documentation about __TINYC__ define __STDC_HOSTED__ like __STDC__
* re-apply VLA by Thomas Preud'hommeJoe Soroka2011-04-061-1/+0
|
* Revert "Implement C99 Variable Length Arrays"Thomas Preud'homme2011-02-051-0/+1
| | | | This reverts commit a5a50eaafeea0d3ca47bc8fb6baf983743470c60.
* Implement C99 Variable Length ArraysThomas Preud'homme2011-02-041-1/+0
| | | | | | | Implement C99 Variable Length Arrays in tinycc: - Support VLA with multiple level (nested vla) - Update documentation with regards to VT_VLA - Add a testsuite in tcctest.c
* tcc: Draft suppoprt for -MD/-MF optionsKirill Smelkov2010-06-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In build systems, this is used to automatically collect target dependencies, e.g. ---- 8< (hello.c) ---- #include "hello.h" #include <stdio.h> int main() { printf("Hello World!\n"); return 0; } $ tcc -MD -c hello.c # -> hello.o, hello.d $ cat hello.d hello.o : \ hello.c \ hello.h \ /usr/include/stdio.h \ /usr/include/features.h \ /usr/include/bits/predefs.h \ /usr/include/sys/cdefs.h \ /usr/include/bits/wordsize.h \ /usr/include/gnu/stubs.h \ /usr/include/bits/wordsize.h \ /usr/include/gnu/stubs-32.h \ /home/kirr/local/tcc/lib/tcc/include/stddef.h \ /usr/include/bits/types.h \ /usr/include/bits/wordsize.h \ /usr/include/bits/typesizes.h \ /usr/include/libio.h \ /usr/include/_G_config.h \ /usr/include/wchar.h \ /home/kirr/local/tcc/lib/tcc/include/stdarg.h \ /usr/include/bits/stdio_lim.h \ /usr/include/bits/sys_errlist.h \ NOTE: gcc supports -MD only for .c -> .o, but in tcc, we generate dependencies for whatever action is being taken. E.g. for .c -> exe, the result will be: $ tcc -MD -o hello hello.c # -> hello, hello.d hello: \ /usr/lib/crt1.o \ /usr/lib/crti.o \ hello.c \ hello.h \ /usr/include/stdio.h \ /usr/include/features.h \ /usr/include/bits/predefs.h \ /usr/include/sys/cdefs.h \ /usr/include/bits/wordsize.h \ /usr/include/gnu/stubs.h \ /usr/include/bits/wordsize.h \ /usr/include/gnu/stubs-32.h \ /home/kirr/local/tcc/lib/tcc/include/stddef.h \ /usr/include/bits/types.h \ /usr/include/bits/wordsize.h \ /usr/include/bits/typesizes.h \ /usr/include/libio.h \ /usr/include/_G_config.h \ /usr/include/wchar.h \ /home/kirr/local/tcc/lib/tcc/include/stdarg.h \ /usr/include/bits/stdio_lim.h \ /usr/include/bits/sys_errlist.h \ /usr/lib/libc.so \ /lib/libc.so.6 \ /usr/lib/ld-linux.so.2 \ /lib/ld-linux.so.2 \ /usr/lib/libc_nonshared.a \ /lib/libc.so.6 \ /usr/lib/libc_nonshared.a \ /home/kirr/local/tcc/lib/tcc/libtcc1.a \ /usr/lib/crtn.o \ So tcc dependency generator is a bit more clever than one used in gcc :) Also, I've updated TODO and Changelog (in not-yet-released section). v2: (Taking inputs from grischka and me myself) - put code to generate deps file into a function. - used tcc_fileextension() instead of open-coding - generate deps only when compilation/preprocessing was successful v3: - use pstrcpy instead of snprintf(buf, sizeof(buf), "%s", ...)
* Udated and cleaned up TODO.grischka2008-01-161-32/+44
|
* Just warn about unknown directives, define __STDC_VERSION__=199901Lgrischka2008-01-161-0/+2
|
* updatebellard2004-11-071-0/+1
|
* updatebellard2004-10-231-1/+6
|
* updatebellard2003-10-041-2/+2
|
* updatebellard2003-05-241-9/+10
|
* updatebellard2003-04-141-3/+0
|
* added configure supportbellard2003-04-131-0/+4
|
* updatebellard2003-01-061-9/+21
|
* updatebellard2002-12-081-5/+7
|
* updatebellard2002-11-241-7/+26
|
* updatebellard2002-11-031-7/+6
|
* updatebellard2002-09-081-4/+4
|
* updatebellard2002-08-311-5/+8
|
* updatedbellard2002-08-181-7/+10
|
* updatedbellard2002-08-181-15/+17
|
* updatebellard2002-07-241-7/+9
|
* updatebellard2002-02-101-2/+6
|
* updatebellard2002-01-051-8/+10
|
* updatebellard2001-12-171-7/+7
|
* updatebellard2001-12-021-6/+9
|
* updatebellard2001-11-181-4/+8
|
* updatebellard2001-11-111-0/+3
|
* updatebellard2001-11-111-6/+14
|
* updatedbellard2001-10-281-2/+3
|
* Initial revisionbellard2001-10-271-0/+6