On Fri, Jul 29, 2011 at 12:40 PM, kevin diggs <diggskevin38@xxxxxxxxx> wrote: > On Fri, Jul 29, 2011 at 1:59 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: >> >> Normally if you build gcc on a 64-bit host it will automatically be >> configured to generate 64-bit code. >> > I don't have any x86-64 (int64) systems. Is it better to use 64-bit on > x86-64 even with the larger memory footprint (because the programming > model is better (more registers, etc))? Is there a 32-bit pointer > (address space 64-bit programming model? > > Thanks! > > kevin > This depends on your program and your data requirements. If you need more than 4 GB address space, of course, you need to use 64-bit. If not, you'd have to try your individual program to see if you are better off with 32-bit or 64-bit. Brian