History

update

bellard committed 23 years ago

Commit b7f12df1 parent 9890ea13 files · +33 −4Browse files

Unified · Split

3 files
  1. Changelog +9 −0
  2. TODO +2 −2
  3. tcc-doc.texi +22 −2
Changelog+9−0
@@ -1,3 +1,12 @@
1+version 0.9.20:
2+
3+- added '-w' option
4+- added '.gnu.linkonce' ELF sections support
5+- fixed libc linking when running in memory (avoid 'stat' function
6+ errors).
7+- extended '-run' option to be able to give several arguments to a C
8+ script.
9+
110 version 0.9.19:
211
312 - "alacarte" linking (Dave Long)
TODO+2−2
@@ -1,5 +1,7 @@
11 TODO list:
22
3+- cast bug (Peter Wang)
4+- define incomplete type if defined several times (Peter Wang).
35 - long long constant evaluation
46 - configure --cc=tcc (still one bug in libtcc1.c)
57 - disable-asm and disable-bcheck options
@@ -26,14 +28,12 @@ TODO list: · 20 unmodified lines
2628 - check section alignment in C
2729 - fix invalid cast in comparison 'if (v == (int8_t)v)'
2830 - packed attribute
29−- support link once trick (gcc 3.2 / glibc compilation issue)
3031 - finish varargs.h support (gcc 3.2 testsuite issue)
3132 - fix static functions declared inside block
3233 - C99: add variable size arrays (gcc 3.2 testsuite issue)
3334 - C99: add complex types (gcc 3.2 testsuite issue)
3435 - postfix compound literals (see 20010124-1.c)
3536 - fix multiple unions init
36−- look at GCC 3.2 compatibility problems.
3737 - setjmp is not supported properly in bound checking.
3838 - better local variables handling (needed for other targets)
3939 - fix bound check code with '&' on local variables (currently done
tcc-doc.texi+22−2
@@ -154,8 +154,28 @@ Set the path where the tcc internal libraries can be found (default is · 153 unmodified lines
154154 @item -bench
155155 Output compilation statistics.
156156
157−@item -run
158−Run compiled source.
157+@item -run source [args...]
158+
159+Compile file @var{source} and run it with the command line arguments
160+@var{args}. In order to be able to give more than one argument to a
161+script, several TCC options can be given @emph{after} the
162+@option{-run} option, separated by spaces. Example:
163+
164+@example
165+tcc "-run -L/usr/X11R6/lib -lX11" ex4.c
166+@end example
167+
168+In a script, it gives the following header:
169+
170+@example
171+#!/usr/local/bin/tcc -run -L/usr/X11R6/lib -lX11
172+#include <stdlib.h>
173+int main(int argc, char **argv)
174+@{
175+ ...
176+@}
177+@end example
178+
159179 @end table
160180
161181 Preprocessor options:

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