Re: Diff b/w 32bit & 64-bit

Måns Rullgård (mru@users.sourceforge.net)
02 Jul 2002 21:02:04 +0200


ruschein@mail-infomine.ucr.edu (Johannes Ruscheinski) writes:

> Also sprach M?ns Rullg?rd:
> > "Mohamed Ghouse , Gurgaon" <MohamedG@ggn.hcltech.com> writes:
> >
> > > Hello All
> > > I am working on a Driver.
> > > Considering the processor 2 B Intel's x86,
> > > can some one enlighten me with the differences of Linux on a 64-bit
> > > processor & a 32-Bit processor.
> >
> > For Alpha: sizeof(int) == 4, sizeof(long) == 8, sizeof(void *) == 8
> > For intel: sizeof(int) == 4, sizeof(long) == 4, sizeof(void *) == 8
> ^^^^^^^^^^^^^^^^^^^
> I don't know where you come up with that. On x86 Linux the size of
> any pointer is 4 bytes!

Of course it's 4, that's the point. My mistake, sorry if I confused
anyone.

-- 
Måns Rullgård
mru@users.sf.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/