[23857] in Kerberos

home help back first fref pref prev next nref lref last post

Re: building kerberos on 64 bit processor

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Mon May 9 17:22:47 2005

In-Reply-To: <A28A519A6A08AD4A9553A9DB5265FD3E0353FD7D@is030.atco.com>
Mime-Version: 1.0 (Apple Message framework v622)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <208e856f2b8e8d5e265b89c811029330@mit.edu>
Content-Transfer-Encoding: 7bit
From: Ken Raeburn <raeburn@mit.edu>
Date: Mon, 9 May 2005 17:22:05 -0400
To: "'kerberos@mit.edu'" <kerberos@mit.edu>
Errors-To: kerberos-bounces@mit.edu

On May 9, 2005, at 16:55, Heilke, Rainer wrote:
> Since you're on Linux, I would add that gcc will need to be built as
> 64bit. Otherwise, it may still build Kerberos as 32bit, because it's 
> all
> (your version of) gcc knows.

If it is a system that has a 32-bit mode and the compiler defaults to 
32-bit mode (the original poster didn't say *what* kind of 64-bit 
system it is), then at least for some architectures it should be 
sufficient to give gcc the right option(s) to generate 64-bit code.  
There does seem to be a bug in our current release where the CFLAGS 
value specified at configure time isn't always passed to all 
invocations of the compiler, so I'd recommend passing the option via 
CC, kind of like this command that should build a 64-bit build on 
Solaris:

   $ ./configure --prefix=... CC='gcc -m64'

Ken

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post