RE: building kerberos on 64 bit processor
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.
Rainer
[color=blue]
> -----Original Message-----
> From: [email]kerberos-bounces@mit.edu[/email]
> [mailto:kerberos-bounces@mit.edu] On Behalf Of Ken Raeburn
> Sent: Monday, May 09, 2005 2:32 PM
> To: prashant sodhiya
> Cc: [email]kerberos@mit.edu[/email]
> Subject: Re: building kerberos on 64 bit processor
>
>
> On May 7, 2005, at 08:04, prashant sodhiya wrote:[color=green]
> > how should i compile kerberos on 64 bit processors(Linux-64[/color]
> bit kernel)
>
> download, extract with tar, run "./configure", run "make", run "make
> install".
> works for me on an alpha.
>[color=green]
> > and what would be the prerequisite for building it.[/color]
>
> C compiler tools; Perl; Tcl is helpful for testing but not required.
> Other basic UNIX utilities you've probably already got.
>
> Ken
>
> ________________________________________________
> Kerberos mailing list [email]Kerberos@mit.edu[/email]
> [url]https://mailman.mit.edu/mailman/listinfo/kerberos[/url]
>[/color]
________________________________________________
Kerberos mailing list [email]Kerberos@mit.edu[/email]
[url]https://mailman.mit.edu/mailman/listinfo/kerberos[/url]
Re: building kerberos on 64 bit processor
On May 9, 2005, at 16:55, Heilke, Rainer wrote:[color=blue]
> 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.[/color]
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 [email]Kerberos@mit.edu[/email]
[url]https://mailman.mit.edu/mailman/listinfo/kerberos[/url]