Re: Q: void* vs. unsigned long (fwd)

Michael Meissner (meissner@cygnus.com)
Tue, 16 Feb 1999 20:26:44 -0500


On Tue, Feb 16, 1999 at 10:52:42PM +0100, Gerard Roudier wrote:
> > The 1st bullet indicates that rank is independant of representation and if
> > you look at the definitions within <limits.h> (5.2.4.2.1) you'll see that
> > signed char is at least 8 bits long
> > short int is at least 16 bits long
> > int is at least 16 bits long
> > long is at least 32 bits long
> > long long is at least 64 bits long
>
> I donnot remember 'int' to ever have been 16 bits large on real
> machines. Is this spec. that old? ;-)

Ah youth. Ummm, how about the machine C was designed for (and around) in the
first place and the first place UNIX was written in C -- the PDP-11 (the
original UNIX was on the PDP-7 written in assembler, but when Dennis and Brian
and the gang moved up to 11's, they rewrote the OS into C)? Also, before you
think 16-bit machines are completely dead, I did a GCC port for a new 16-bit
machine last year that will be used in the embedded space for audio processing
(and programmed in C).

-- 
Michael Meissner, Cygnus Solutions (Massachusetts office)
4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA
meissner@cygnus.com,	617-354-5416 (office),	617-354-7161 (fax)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/