[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] broken tcc build after latest git pull
From: |
Sergey Korshunoff |
Subject: |
Re: [Tinycc-devel] broken tcc build after latest git pull |
Date: |
Mon, 9 Mar 2015 08:57:58 +0300 |
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.