setting pointer width

Shah Harshit harshit@mailhost.tifr.res.in
Thu Oct 9 12:49:00 GMT 2008


Hi,

I need to set pointer (e.g., int *ptr) width to 64 bits on a 32 bit machine
for some experiments. 

intptr is defined as long (32 bits). Is there any way to change this through
command line arguments to gcc while compiling the input program? OR, is it
possible by changing the gcc source and compiling it?

Any help regarding the same would be appreciated.

Thanks.
Regards,
harshit shah



 



More information about the Gcc-help mailing list