SUMMARY: 64 bit gcc

From: Igor Schein (
Date: Fri Jul 16 1999 - 10:03:23 CDT

On Wed, Jul 14, 1999 at 05:21:53PM -0400, Igor Schein wrote:
> Hi,
> has any1 been able to build a gcc under Solaris 2.7
> capable of creating 64-bit binaries? I was wondering
> what the formal procedure for that is.
> Thanks
> Igor

Thanks to the following people:

Tim Carlson
Kevin Sheehan
Serg `Ice` Tsyganenko
Lars Oliver Bauer
Cliff Skolnick

I now a pretty good picture. The correct target is sparcv9-sun-solaris2.X,
and the correct flag to builf 64 bit code with -mcpu=v9.

gcc does not officially support sparcv9 plarform, but latest egcs
(19990714 snapshot) does work. However, I couldn't build egcs on my
machine because of WorkShop 5.0 assembler bug. This bug was
introduced sometime between Mar '98 and Dec '98 versions of assembler
(thanks to Tim Carlson who built and gave me the egcs installation tree
using Mar '98 version ). Of course I couldn't test 64bit egcs extensively
because of that same assembler bug. I opened a service order with Sun on
it and am hoping to have resolved soon, or else I'd need to downgrade.

Answering to Lars Oliver Bauer, cc -xargs=v9 produces bad 64bit code for me,
which is also probably related to assembler bug. I'm pretty much up to date on

Thanks again to all of you


This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:23 CDT