History

i386-win32-tcc fails to build a valid win32 executable if built on x86_64 using --enable-cross. The easiest way to fix this is to put -m32 in the Makefile.

Committer: Henry Kroll <henry@comptune.com>

Henry Kroll III committed 16 years ago

Commit 46862361 parent be7e3391 file · +1 −1Browse files

Unified · Split

Makefile+1−1
@@ -129,7 +129,7 @@ tcc$(EXESUF): tcc.o libtcc.a · 128 unmodified lines
129129
130130 $(I386_CROSS): DEFINES = -DTCC_TARGET_I386
131131 $(X64_CROSS): DEFINES = -DTCC_TARGET_X86_64
132−$(WIN32_CROSS): DEFINES = -DTCC_TARGET_I386 -DTCC_TARGET_PE
132+$(WIN32_CROSS): DEFINES = -DTCC_TARGET_I386 -DTCC_TARGET_PE -m32
133133 $(WIN64_CROSS): DEFINES = -DTCC_TARGET_X86_64 -DTCC_TARGET_PE
134134 $(WINCE_CROSS): DEFINES = -DTCC_TARGET_PE
135135 $(C67_CROSS): DEFINES = -DTCC_TARGET_C67

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