comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: compiling for sparc64
Date: Sat, 29 Aug 2009 07:57:19 -0700 (PDT)
Date: 2009-08-29T07:57:19-07:00	[thread overview]
Message-ID: <ab23cb28-932a-4979-86fc-6470a004abac@o21g2000vbl.googlegroups.com> (raw)
In-Reply-To: f2762804-feab-4bbd-b8d1-99e50e87dc90@z34g2000vbl.googlegroups.com

Ludovic Brenta wrote on comp.lang.ada:
> To build a cross-compiler, follow the installation instructions[1],
> passing --target=sparc64-freebsd to ../src/configure.

I feel I have to add to this... All UltraSPARC processors since circa
1994 are 64-bit but can also run 32-bit code natively. There is a
memory and performance cost with running 64-bit code because the
larger addresses take more room in the cache. For this reason, on
Solaris, Sun recommends that applications that can work within 4 GiB
be compiled in 32-bit mode.  The norm is a 64-bit kernel running
multiple 32-bit apps and a few large 64-bit apps that absolutely
require the large address space and trade some performance for it.
You may want to check whether that also applies to FreeBSD or not.

GCC supports both sparc and sparc64.

--
Ludovic Brenta.



      reply	other threads:[~2009-08-29 14:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-29  8:53 compiling for sparc64 Allison Phillips
2009-08-29 14:45 ` Ludovic Brenta
2009-08-29 14:57   ` Ludovic Brenta [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox