Sujet : Re: Motivation of tccc mainatainers (Was: Python recompile)
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.cDate : 12. Mar 2025, 22:19:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vqsto4$2qe6f$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
User-Agent : Mozilla Thunderbird
On 12/03/2025 18:14, Michael S wrote:
On Wed, 12 Mar 2025 16:52:24 +0000
bart <bc@freeuk.com> wrote:
>
I don't know what the significance of UCRT-based means. As such that
would't make me stop using it.
>
UCRT would give them pretty good compliance with requirements of C99,
C11 and C17 standards. Not perfect, but a lot better that circa-2014
libraries that they are using today.
Also, I suppose that it will give better compatibility with MS tools.
Personally for you, it likely means that GMP DLLs that I suggested
would work. And these DLLs are smaller, better tested and hopefully
compiled from newer sources than non-UCRT variant that you found.
The failures I had on some GMP DLLS manifested with both gcc and tcc compilers.
In any case, the GMP DLL will have its own set of dynamic imports (static imports will be part of its code). The failing one imported these dynamic libraries:
Name: VCRUNTIME140.dll
Name: api-ms-win-crt-runtime-l1-1-0.dll
Name: api-ms-win-crt-stdio-l1-1-0.dll
Name: api-ms-win-crt-string-l1-1-0.dll
Name: api-ms-win-crt-locale-l1-1-0.dll
Name: api-ms-win-crt-heap-l1-1-0.dll
Name: api-ms-win-crt-convert-l1-1-0.dll
Name: KERNEL32.dll
And the working one (gcc/tcc) imported these:
Name: KERNEL32.dll
Name: api-ms-win-crt-convert-l1-1-0.dll
Name: api-ms-win-crt-environment-l1-1-0.dll
Name: api-ms-win-crt-filesystem-l1-1-0.dll
Name: api-ms-win-crt-heap-l1-1-0.dll
Name: api-ms-win-crt-locale-l1-1-0.dll
Name: api-ms-win-crt-private-l1-1-0.dll
Name: api-ms-win-crt-runtime-l1-1-0.dll
Name: api-ms-win-crt-stdio-l1-1-0.dll
Name: api-ms-win-crt-string-l1-1-0.dll
Name: api-ms-win-crt-time-l1-1-0.dll
Name: api-ms-win-crt-utility-l1-1-0.dll
So nothing to do with tcc.