Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Panda
TinyCC
Commits
27f6e16b
Commit
27f6e16b
authored
Oct 27, 2001
by
bellard
Browse files
Initial revision
parents
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Makefile
0 → 100644
View file @
27f6e16b
all
:
test cvt
test
:
prog.bin
cmp
-l
prog.bin prog.bin.ref
run
:
tc prog.c
./tc prog.c
run2
:
tc tc1.c prog.c
./tc tc1.c prog.c
run3
:
tc tc1.c prog.c
./tc tc1.c tc1.c prog.c
prog.bin
:
prog.c tct
./tct prog.c
$@
ndisasm
-b
32
$@
p2.bin
:
p2.c tct
./tct
$<
$@
ndisasm
-b
32
$@
tct
:
tc.c
gcc
-DTEST
-O2
-g
-o
$@
$<
-ldl
tc
:
tc.c Makefile
gcc
-O2
-Wall
-g
-o
$@
$<
-ldl
tc1
:
tc1.c
gcc
-O2
-Wall
-g
-o
$@
$<
cvt
:
cvt.c
gcc
-O2
-Wall
-g
-o
$@
$<
instr.o
:
instr.S
gcc
-O2
-Wall
-g
-c
-o
$@
$<
tc.i
:
tc.c Makefile
gcc
-E
-P
-DTINY
-o
$@
tc.c
tc1.c
:
tc.i cvt Makefile
./cvt
$<
$@
@
ls
-l
$@
test2
:
tct tc1.c
./tct tc1.c tc2
ndisasm
-b
32 tc2
tc2
:
tc
./tct < tc1.c
>
tc2
ndisasm
-b
32 tc2
TODO
0 → 100644
View file @
27f6e16b
- 'x'=
- shifts
- conditionnal ?:
- constant propagation for '+', '-' and [].
- verify function types
tcc.c
0 → 100644
View file @
27f6e16b
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment