Skip to contentSkip to conversation

RPC on IA64

Linux-ia64 qiuhb 2 participants 2 messages Jun 7, 2001

lore
Share & tools
lore

qiuhb

author
#0 lore raw

Hi.

Now I am porting some application from IA32 to IA64 and using RPC. Would you tell me whether support scalable data types as like intptr_t. The long type is 32-bit on IA32 and it is 64-bit on IA64,yes or no?

Thanks.

Qiu HongBing

#1 lore raw
Quoted 1 line · qiuhb

The long type is 32-bit on IA32 and it is 64-bit on IA64,yes or no?

Yes. Nowadays, long is the only standard C type whose size is likely to vary between platforms. int is 32-bit practically everywhere and long long is 64-bit everywhere. Note that the current situation *may* change in the future, so it's better to avoid relying on these sizes, if possible.

Dan