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
99 ifndef TARGET
1010 # we're building the native libtcc1.a
1111 ifdef CONFIG_WIN32
12− ifeq ($(ARCH),x86-64)
12+ ifeq ($(ARCH),x86_64)
1313 TARGET = x86_64-win32
1414 else
1515 TARGET = i386-win32
1616 endif
1717 else ifeq ($(ARCH),i386)
1818 TARGET = i386
19− else ifeq ($(ARCH),x86-64)
19+ else ifeq ($(ARCH),x86_64)
2020 TARGET = x86_64
2121 else ifeq ($(ARCH),arm)
2222 TARGET = arm
@@ -83,6 +83,9 @@ $(DIR)/%.o : %.c · 60 unmodified lines
8383 $(DIR)/%.o : %.S
8484 $(XCC) -c $< -o $@ $(TGT) $(XFLAGS)
8585
86+$(DIR)/crt1w.o : crt1.c
87+$(DIR)/wincrt1w.o : wincrt1.c
88+
8689 $(OBJ) : $(DIR)/exists
8790
8891 %/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