From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,ee078ce03c743958 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!o21g2000vbl.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: compiling for sparc64 Date: Sat, 29 Aug 2009 07:57:19 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 94.108.212.132 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1251557839 8096 127.0.0.1 (29 Aug 2009 14:57:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 29 Aug 2009 14:57:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o21g2000vbl.googlegroups.com; posting-host=94.108.212.132; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009061208 Iceweasel/3.0.12 (Debian-3.0.12-1),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8049 Date: 2009-08-29T07:57:19-07:00 List-Id: 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.