delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/02/09:45:34

From: Charles Krug <charles AT pentek DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: File reading
Date: Mon, 02 Feb 1998 09:19:10 -0500
Lines: 17
Message-ID: <34D5D5DE.70794F7F@pentek.com>
References: <34CC6531 DOT A6869055 AT mail DOT htk DOT fi> <I3YxpJAEai00Ewq4 AT talula DOT demon DOT co DOT uk>
NNTP-Posting-Host: mail.pentek.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Shawn Hargreaves wrote:

> What gave you this idea? Using djgpp, as with most 32 bit compilers, a
> char is 8 bits, a short is 16 bits, and an int or long is 32 bits.
> Although it is perfectly legal according to the ANSI standard, compilers
> with anything other than an 8 bit character type are very unusual...
>

The compiler's for TI's DSP's in the TMS320Cxx series assume that a char is
32-bits, which is the smallest addressable memory unit.

It IS unusual, though.

--
Charles Krug, Jr.


- Raw text -


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