compiling kerberos for sparcv9
raeburn at MIT.EDU
Tue Nov 23 12:08:43 EST 2004
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__"
More information about the Kerberos