Old OSes compatibility [Re: 64-bit (>4GB) inferior data types rules; TYPE_LENGTH: unsigned -> ULONGEST]
Eli Zaretskii
eliz@gnu.org
Mon Oct 1 17:38:00 GMT 2012
> Date: Mon, 01 Oct 2012 18:18:37 +0100
> From: Pedro Alves <palves@redhat.com>
> CC: Joel Brobecker <brobecker@adacore.com>, gdb@sourceware.org,
> Siddhesh Poyarekar <siddhesh@redhat.com>, Eli Zaretskii <eliz@gnu.org>
>
> On 10/01/2012 05:48 PM, Jan Kratochvil wrote:
>
> > Therefore I believe "%z" is OK, it would be nice to check it with several
> > major non-GNU systems whether gnulib vasprintf should be already included.
>
> Older mingw versions would be a host I recall whose libc didn't
> use to support %z until a couple years ago.
I don't think MinGW can support %z even today, because the CRT DLL
doesn't. See my other message.
> I believe Eli (like many, due to some technical limitations of gcc
> 4.x) for example stills uses a mingw with a 3.x gcc.
That's true, but the main issue here is the library, not the compiler.
> Not sure whether people are combining newer mingw runtime releases
> with the 3.x based compilers.
MinGW runtime does not replace the format conversion engine, it uses
the MS provided one, AFAIK. It does augment the MS runtime with
several functions of the printf family, but AFAIK they do not include
replacement of the format-conversion code. If you know otherwise,
please tell which MinGW source file includes this replacement.
More information about the Gdb
mailing list