This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling gcc in 64 bits mode


On Fri, Jul 29, 2011 at 12:40 PM, kevin diggs <diggskevin38@gmail.com> wrote:
> On Fri, Jul 29, 2011 at 1:59 PM, Ian Lance Taylor <iant@google.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]