If you're talking about the x86 32-bit and 64-bit targets, you can switch with the -m32 and -m64 flags. http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options Watch out when you switch because long also changes. corey On 10/12/05, Roger Tucker <roger.tucker@xxxxxxx> wrote: > > Is there a way to declare both 32 bit pointers and 64 bit pointers in the > same application. I need a pragma or something to change between 32 bit > pointers and 64 bit pointers. Is there a way to do this in gcc? > > Thanks, > Roger > >