aboutsummaryrefslogtreecommitdiff
path: root/TODO
Commit message (Collapse)AuthorAgeFilesLines
* Remove a bit-field TODOMichael Matz2017-04-291-1/+0
| | | | | | Checked the lcc testsuite for bitfield stuff (in cq.c and fields.c), fixed one more error in initializing unnamed members (which have to be skipped), removed the TODO.
* tcctools.c: integrate tiny_libmaker/_impdefgrischka2017-02-181-0/+1
| | | | | | | | | | | | | | usage: tcc -ar [rcsv] lib files... tcc -impdef lib.dll [-v] [-o lib.def] also: - support more files with -c: tcc -c f1.c f2.c ... - fix a bug which caused tcc f1.c f2.S to produce no asm - allow tcc -ar @listfile too - change prototype: _void_ tcc_set_options(...) - apply -Wl,-whole-archive when a librariy is given as libxxx.a also (not just for -lxxx)
* updates & cleanups (tcc-doc/Changelog/TODO ...)grischka2017-02-131-19/+9
| | | | | | | | | | | | | | | - tcc-doc.texi: commandline option info update - Changelog/TODO: update - tests/tcctest.py: removed - tests/Makefile: weaktest fixed - tests/tests2: some files renamed and/or converted to unix LF - configure/Makefile: --enable-static option (no dll on win32) - win32/build-tcc.bat: msvc support - win32/tcc-win32.txt: build info update - win32/vs2015/: VS solution removed - win32/include/tcc/tcc_libm.h: #include statement fixed - tcc.c: -include <file> option help info - .gitignore: cleanup
* Insert spaces between certain tokens when tcc is invoked with -E.Edmund Grimley Evans2016-05-091-2/+0
| | | | | | Insert a space when it is required to prevent mistokenisation of the output, and also in a few cases where it is not strictly required, imitating GCC's behaviour.
* TODO: Add two issues.Edmund Grimley Evans2016-04-241-0/+2
|
* Change the way struct CStrings are handled.Edmund Grimley Evans2015-11-261-1/+0
| | | | | | | | | A CString used to be copied into a token string, which is an int array. On a 64-bit architecture the pointers were misaligned, so ASan gave lots of warnings. On a 64-bit architecture that required memory accesses to be correctly aligned it would not work at all. The CString is now included in CValue instead.
* TODO: Add two issues.Edmund Grimley Evans2015-11-261-0/+2
|
* TODO: Add note on handling of floating-point values.Edmund Grimley Evans2015-11-211-0/+3
|
* TODO: Add some issues.Edmund Grimley Evans2015-11-211-0/+15
|
* Improve constant propagation with "&&" and "||".Edmund Grimley Evans2015-11-201-1/+0
|
* Revert all of my changes to directories & codingstyle.gus knight2015-07-291-0/+92
|
* Reorganize the source tree.gus knight2015-07-271-92/+0
| | | | | | | | | | * Documentation is now in "docs". * Source code is now in "src". * Misc. fixes here and there so that everything still works. I think I got everything in this commit, but I only tested this on Linux (Make) and Windows (CMake), so I might've messed something up on other platforms...
* 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