History

added il target

bellard committed 24 years ago

Commit 77db7171 parent e5de65f1 file · +11 −3Browse files

Unified · Split

Makefile+11−3
@@ -44,7 +44,7 @@ test3: tcc tcc.c tcctest.c test.ref · 43 unmodified lines
4444
4545 # memory and bound check auto test
4646 BOUNDS_OK = 1 4 8 10
47−BOUNDS_FAIL= 2 5 7 9 11 12
47+BOUNDS_FAIL= 2 5 7 9 11 12 13
4848
4949 btest: boundtest.c tcc
5050 @for i in $(BOUNDS_OK); do \
@@ -76,7 +76,7 @@ ex2: ex2.c · 25 unmodified lines
7676 ex3: ex3.c
7777 gcc $(CFLAGS) -o $@ $<
7878
79−# Tiny C Compiler
79+# Native Tiny C Compiler
8080
8181 tcc_g: tcc.c i386-gen.c bcheck.c Makefile
8282 gcc $(CFLAGS) -o $@ $< $(LIBS)
@@ -94,7 +94,15 @@ clean: · 11 unmodified lines
9494 rm -f *~ *.o tcc tcc1 tcct tcc_g tcctest.ref *.bin *.i ex2 \
9595 core gmon.out test.out test.ref a.out tcc_p
9696
97−# win32 version
97+# IL TCC
98+
99+iltcc_g: tcc.c il-gen.c bcheck.c Makefile
100+ gcc $(CFLAGS) -DTCC_TARGET_IL -o $@ $< $(LIBS)
101+
102+iltcc: iltcc_g
103+ strip -s -R .comment -R .note -o $@ $<
104+
105+# win32 TCC
98106 tcc_g.exe: tcc.c i386-gen.c bcheck.c Makefile
99107 i386-mingw32msvc-gcc $(CFLAGS) -DCONFIG_TCC_STATIC -o $@ $<
100108

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