Subject: Re: sunpro and -xarch=v9 on Solaris 10
To: None <segv@netctl.net>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 12/05/2005 10:14:19
On Sun, Dec 04, 2005 at 10:23:38PM +0000, segv@netctl.net wrote:

> On Sun, 4 Dec 2005 21:51:49 +0000
> segv@netctl.net wrote:
> 
> > I've just found out that you need to set the following variable in your
> > mk.conf to build 64-bit binaries
> > 
> > ABI=64
> > 
> > It is used by mk/compiler/sunpro.mk file, that has the following line
> > 
> > _COMPILER_ABI_FLAG.64=  -xtarget=ultra -xarch=v9
> 
> pkgsrc developers, any chance to add a note about ABI variable to
> bootstrap/README.Solaris file? I think without it, many packages will fail to
> compile into 64-bit binaries.

I believe it is already documented in the pkgsrc guide. if not, it
should be.

what version of Sun Studio are you using that requires this change?
I'd rather the options be backward and forward compatible with as many
versions as possible.

grant.