History

tcc: re-enable correct option -r support

Forgot about it. It allows to compile several sources (and other .o's) to one single .o file; tcc -r -o all.o f1.c f2.c f3.S o4.o ... Also: - option -fold-struct-init-code removed, no effect anymore - (tcc_)set_environment() moved to tcc.c - win32/lib/(win)crt1 minor fix & add dependency - debug line output for asm (tcc -c -g xxx.S) enabled - configure/Makefiles: x86-64 -> x86_64 changes - README: cleanup

grischka committed 9 years ago

Commit 5f33d311 parent 399237818 files · +178 −151Browse files

Showing the changes to lib (1 of 18 files). Show all

Unified · Split

lib/Makefile+5−2
@@ -9,14 +9,14 @@ VPATH = $(TOPSRC)/lib $(TOPSRC)/win32/lib · 8 unmodified lines
9ifndef TARGET9ifndef TARGET
10 # we're building the native libtcc1.a10 # we're building the native libtcc1.a
11 ifdef CONFIG_WIN3211 ifdef CONFIG_WIN32
12 ifeq ($(ARCH),x86-64)12 ifeq ($(ARCH),x86_64)
13 TARGET = x86_64-win3213 TARGET = x86_64-win32
14 else14 else
15 TARGET = i386-win3215 TARGET = i386-win32
16 endif16 endif
17 else ifeq ($(ARCH),i386)17 else ifeq ($(ARCH),i386)
18 TARGET = i38618 TARGET = i386
19 else ifeq ($(ARCH),x86-64)19 else ifeq ($(ARCH),x86_64)
20 TARGET = x86_6420 TARGET = x86_64
21 else ifeq ($(ARCH),arm)21 else ifeq ($(ARCH),arm)
22 TARGET = arm22 TARGET = arm
@@ -83,6 +83,9 @@ $(DIR)/%.o : %.c · 60 unmodified lines
83$(DIR)/%.o : %.S83$(DIR)/%.o : %.S
84 $(XCC) -c $< -o $@ $(TGT) $(XFLAGS)84 $(XCC) -c $< -o $@ $(TGT) $(XFLAGS)
85 85
86$(DIR)/crt1w.o : crt1.c
87$(DIR)/wincrt1w.o : wincrt1.c
88
86$(OBJ) : $(DIR)/exists89$(OBJ) : $(DIR)/exists
87 90
88%/exists :91%/exists :

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