[22875] in Kerberos
Re: compiling kerberos for sparcv9
daemon@ATHENA.MIT.EDU (Ken Raeburn)
Tue Nov 23 12:09:54 2004
In-Reply-To: <7A05A249A3DE11459B154221006BDE6F03312C5B@exc-mch01.mch.osram.de>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <541D656C-3D72-11D9-85B8-000A95909EE2@mit.edu>
Content-Transfer-Encoding: 7bit
From: Ken Raeburn <raeburn@mit.edu>
Date: Tue, 23 Nov 2004 12:08:43 -0500
To: "Barbat, Calin" <c.barbat@osram.de>
cc: Ken Raeburn <raeburn@mit.edu>
cc: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu
On Nov 23, 2004, at 09:59, Barbat, Calin wrote:
> Hi all,
> I'd like to know what parameters to give ./configure, in order to
> generate ELF64 object code for the sparcv9 architecture. Could anyone
> provide me with the info?
> I have here the gcc and the SUNWspro/cc compilers, but the ld fails
> with "Segmentation fault" on libcomm_err (or so) when I issue:
>
> ./configure --enable-shared CFLAGS="-mcpu=ultrasparc -m64"
>
> How should I do it best?
I'd suggest using the Sun compiler instead. Here's what I use:
./configure CC="cc -xarch=v9 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"
Ken
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos