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

2022-11-10 Thread Christian Jullien
: Saturday, November 05, 2022 17:22 To: jull...@eligis.com Cc: psm...@gnu.org; jull...@eligis.com; make-...@gnu.org; tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] GNUmake v4.4 port on Windows with tcc > From: "Christian Jullien" > Cc: , > , > > Date: Sat,

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

2022-11-05 Thread Eli Zaretskii
> From: "Christian Jullien" > Cc: , > , > > Date: Sat, 5 Nov 2022 17:03:44 +0100 > > Please note that even VisualC++ uses defines (in mapping.h) > /** > * Map stroll to _strtoi64 > * > * stroll does not properly map in Windows; this is needed to ensure calls to > * strtoll(const

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

2022-11-05 Thread Christian Jullien
Please note that even VisualC++ uses defines (in mapping.h) /** * Map stroll to _strtoi64 * * stroll does not properly map in Windows; this is needed to ensure calls to * strtoll(const char *nptr, char **endptr, int base) will compile in Windows. */ #define strtoll _strtoi64 /** * Map

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

2022-11-05 Thread Eli Zaretskii
> From: Paul Smith > Cc: make-...@gnu.org, tinycc-devel@nongnu.org > Date: Sat, 05 Nov 2022 10:18:55 -0400 > > On Thu, 2022-11-03 at 16:45 +0200, Eli Zaretskii wrote: > > > Of course it does. > > > > Thanks.  Paul, should I install this? > > Yes please thanks! Done.

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

2022-11-05 Thread Paul Smith
On Thu, 2022-11-03 at 15:29 +0100, Christian Jullien wrote: > As side note, compiling GNUmake with cl x64 gives the following > warnings I believe I've examined these warnings in the past and they are not a problem: related to the ifdef spaghetti in parts of the code or else due to differences in

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

2022-11-05 Thread Paul Smith
On Thu, 2022-11-03 at 16:45 +0200, Eli Zaretskii wrote: > > Of course it does. > > Thanks.  Paul, should I install this? Yes please thanks! ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel

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

2022-11-03 Thread Eli Zaretskii
> From: "Christian Jullien" > Cc: , > , > > Date: Thu, 3 Nov 2022 15:59:53 +0100 > > Hi Eli, you've read too fast, the warnings are with cl (Visual C++ if you > prefer), esp. when compiled with 64bit mode. That's still for Paul, who actually has VC. I only use GCC.

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

2022-11-03 Thread Christian Jullien
Hi Eli, you've read too fast, the warnings are with cl (Visual C++ if you prefer), esp. when compiled with 64bit mode. -Original Message- From: Eli Zaretskii [mailto:e...@gnu.org] Sent: Thursday, November 03, 2022 15:45 To: jull...@eligis.com Cc: psm...@gnu.org; make-...@gnu.org;

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

2022-11-03 Thread Eli Zaretskii
> From: "Christian Jullien" > Cc: , > > Date: Thu, 3 Nov 2022 15:29:47 +0100 > > Of course it does. Thanks. Paul, should I install this? > As side note, compiling GNUmake with cl x64 gives the following warnings The "size_t to int" warnings are about EINTRLOOP, so I'll let Paul worry

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

2022-11-03 Thread Christian Jullien
Of course it does. I considered this solution but I was reluctant to ask you to change the source because tcc currently lacks C99 strto[u]ll That's why I moved the patch to build_w32.bat script I let you decide what is the best for GNUmake. Both patches work equally well As side note, compiling

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

2022-11-03 Thread Eli Zaretskii
> From: Paul Smith > Cc: tinycc-devel@nongnu.org, 'Eli Zaretskii' > Date: Wed, 02 Nov 2022 11:50:45 -0400 > > On Wed, 2022-11-02 at 16:40 +0100, Christian Jullien wrote: > > It appears that tcc on Windows lacks strtoll and strtoull (something > > that > > needs to be fixed on tcc side of

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

2022-11-02 Thread Paul Smith
On Wed, 2022-11-02 at 16:40 +0100, Christian Jullien wrote: > 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

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

2022-11-02 Thread Christian Jullien
I subscribe both lists and tried to build make 3.3.91 two weeks ago but it failed because some configuration files were missing. F:\wintcc\make-7c71df5695720dcf5947a7eba1682452ee497288>build_w32.bat tcc Creating GNU Make for Windows 9X/NT/2K/XP/Vista/7/8/10 - Building with TinyC - Enabling