A question about the data type of rtems

PowerMan powerman1st at gmail.com
Mon Oct 13 12:14:15 UTC 2008


1. In which file "uint32_t" is defined ?

2. Would "int" be different between xxx-rtems-gcc ?
  for example, "int" in arm-rtems-gcc is 32-bit,
   "int" in avr-rtems-gcc is 16-bit.
(Or
"short" is fixed 16-bit,
"int" is fixed 32-bit,
"long" is 32-bit or 64-bit
(that is in linux kernel))

3. If so, I found some driver uses "int",
Would that make some problems to portability?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20081013/cb660f0a/attachment.html>


More information about the users mailing list