By the logic a native compiler on the windows must have a name
386-win-tcc.exe not i386-tcc. The i386-tcc.exe is supposed to be a
compiler for the i386 Linux. A makefile target must be somehow
modified.

ifeq ($(ARCH),i386)
PROGS:=$($(I386_CROSS)_LINK)
$($(I386_CROSS)_LINK)_TCC = yes
endif
ifeq ($(ARCH),x86-64)
PROGS:=$($(X64_CROSS)_LINK)
$($(X64_CROSS)_LINK)_TCC = yes
endif

There is a targetos variable in the configure script which defines
mingw32=yes. But we need a host_os variable in a configure and
makefile. I will try to introduce this.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to