Hi team,

Many thanks for your efforts for make 4.4.
Trying to compile this versions with tcc on Windows "nearly" works out the
box.
It appears that tcc on Windows lacks strtoll and strtoull (something that
needs to be fixed on tcc side of course).
Meanwhile, it can easily be patched in build_w32.bat by adding
-Dstrtoull=_strtoui64 -Dstrtoll=_strtoi64 at line 330

call %COMPILER% -mthreads -Wall -std=c11 %OPTS% -I%OUTDIR%/src -I./src
-I%OUTDIR%/lib -I./lib -I./src/w32/include -D_cdecl= -Dstrtoull=_strtoui64
-Dstrtoll=_strtoi64 -D_MSC_VER -DHAVE_CONFIG_H %EXTRAS% -o %OUTDIR%/%1.%O%
-c %1.c

Hope it helps.

Christian

-----Original Message-----
From: Eli Zaretskii [mailto:e...@gnu.org] 
Sent: Wednesday, January 22, 2020 19:19
To: jull...@eligis.com
Cc: make-w32@gnu.org; tinycc-de...@nongnu.org
Subject: Re: [Tinycc-devel] I want to port make on Windows using tcc
compiler

> From: "Christian Jullien" <eli...@orange.fr>
> Date: Wed, 22 Jan 2020 18:44:25 +0100
> Cc: tinycc-de...@nongnu.org
> 
> Thank you Eli, your help is really appreciated.
> 
> >From the latest https://ftp.gnu.org/gnu/make/make-4.3.tar.gz I don't see
the
> src/config.h.W32.template you're referring to.

The template file is not in the tarball, it is in the GNU Make Git
repository.  See https://savannah.gnu.org/git/?group=make.


Reply via email to