tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] GNUmake v4.4 port on Windows with tcc


From: Christian Jullien
Subject: [Tinycc-devel] GNUmake v4.4 port on Windows with tcc
Date: Wed, 2 Nov 2022 16:40:02 +0100

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:eliz@gnu.org] 
Sent: Wednesday, January 22, 2020 19:19
To: jullien@eligis.com
Cc: make-w32@gnu.org; tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] I want to port make on Windows using tcc
compiler

> From: "Christian Jullien" <eligis@orange.fr>
> Date: Wed, 22 Jan 2020 18:44:25 +0100
> Cc: tinycc-devel@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

[Prev in Thread] Current Thread [Next in Thread]