[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: GNUmake v4.4 port on Windows with tcc
From: |
Christian Jullien |
Subject: |
RE: GNUmake v4.4 port on Windows with tcc |
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 char *nptr, char **endptr, int base) will compile in Windows.
*/
#define strtoll _strtoi64
/**
* Map strtoull to _strtoui64
*
* strtoull does not properly map in Windows; this is needed to ensure calls to
* strtoull(const char *nptr, char **endptr, int base) will compile in Windows.
*/
#define strtoull _strtoui64
So, probably we'll do the same for tcc.
I suggest you check if those macros are not already defined as I hope they'll
soon be defined that way in tcc stdlib.h
#ifdef __TINYC__
#if !defined(strtoll)
#define strtoll _strtoi64
#endif
#if !defined(strtoull)
#define strtoull _strtoui64
#endif
#endif
C.
-----Original Message-----
From: Eli Zaretskii [mailto:eliz@gnu.org]
Sent: Saturday, November 05, 2022 15:49
To: psmith@gnu.org
Cc: jullien@eligis.com; make-w32@gnu.org; tinycc-devel@nongnu.org
Subject: Re: GNUmake v4.4 port on Windows with tcc
> From: Paul Smith <psmith@gnu.org>
> Cc: make-w32@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.
- GNUmake v4.4 port on Windows with tcc, Christian Jullien, 2022/11/02
- Re: GNUmake v4.4 port on Windows with tcc, Paul Smith, 2022/11/02
- RE: GNUmake v4.4 port on Windows with tcc, Christian Jullien, 2022/11/02
- Re: GNUmake v4.4 port on Windows with tcc, Eli Zaretskii, 2022/11/03
- Re: GNUmake v4.4 port on Windows with tcc, Paul Smith, 2022/11/05
- Re: GNUmake v4.4 port on Windows with tcc, Eli Zaretskii, 2022/11/05
- RE: GNUmake v4.4 port on Windows with tcc,
Christian Jullien <=
- Re: GNUmake v4.4 port on Windows with tcc, Eli Zaretskii, 2022/11/05
- RE: [Tinycc-devel] GNUmake v4.4 port on Windows with tcc, Christian Jullien, 2022/11/11
- Re: GNUmake v4.4 port on Windows with tcc, Paul Smith, 2022/11/05