www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/01/31/19:15:22

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: RayeR <glaux AT centrum DOT cz>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to determine LIBC version from a GCC toolchain?
Date: Thu, 31 Jan 2008 16:08:21 -0800 (PST)
Organization: http://groups.google.com
Lines: 13
Message-ID: <f7dabc25-a683-4f73-a10a-fd33125f4adc@q77g2000hsh.googlegroups.com>
References: <85dee0d5-db2a-4541-809f-1368e5bfa833 AT d70g2000hsb DOT googlegroups DOT com>
<200801312257 DOT m0VMvA9B009573 AT envy DOT delorie DOT com>
NNTP-Posting-Host: 78.102.38.194
Mime-Version: 1.0
X-Trace: posting.google.com 1201824502 8657 127.0.0.1 (1 Feb 2008 00:08:22 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Fri, 1 Feb 2008 00:08:22 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: q77g2000hsh.googlegroups.com; posting-host=78.102.38.194;
posting-account=Q0wMHAoAAADjYrghh94FTf6YnbpTqZgp
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11)
Gecko/20071128 SeaMonkey/1.1.7,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> It's in include/sys/version.h

There I have 2.4 but mingw and arm-gcc doesn't have such header.

> DJGPP has its own C library so you can't compare them with other
> tools.

Aha...
I'm trying to understand why format string %hhu in sscanf works wrong
(behaves same as %hu) in arm-gcc but same code works fine in djgpp and
ming32. So I think it have something to do with libc and maybe arm-gcc
3.4.6 uses some older library which didn't supported %hhu or it may be
bug specific to arm port. I don't know

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019