From 7d6d91b2aa8c712fbb6fe78fe8fed680bc0410ed Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 23 May 2003 23:55:12 +0000 Subject: [PATCH] update descriptions of OS-specific configure options * build.texinfo (HPUX, Solaris 2.X, Ultrix 4.2/3 [notdef]): Replace descriptions of old --with- options with VAR=. (Solaris 2.X): Suggest that defining _XOPEN_SOURCE and __EXTENSIONS__ might help for 64-bit mode. ticket: new target_version: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15487 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/ChangeLog | 7 +++++++ doc/build.texinfo | 13 +++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 6e040f8fb..c45b24d24 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,10 @@ +2003-05-23 Ken Raeburn + + * build.texinfo (HPUX, Solaris 2.X, Ultrix 4.2/3 [notdef]): + Replace descriptions of old --with- options with VAR=. + (Solaris 2.X): Suggest that defining _XOPEN_SOURCE and + __EXTENSIONS__ might help for 64-bit mode. + 2003-05-23 Tom Yu * admin.texinfo (appdefaults): Clarify afs_krb5 slightly. diff --git a/doc/build.texinfo b/doc/build.texinfo index 1f0ef9687..3f2b225cb 100644 --- a/doc/build.texinfo +++ b/doc/build.texinfo @@ -772,7 +772,7 @@ NetBSD and FreeBSD.) The native (bundled) compiler for HPUX currently will not work, because it is not a full ANSI C compiler. The optional compiler (c89) should work as long as you give it the @samp{-D_HPUX_SOURCE} flag -(i.e. @samp{./configure --with-cc='c89 -D_HPUX_SOURCE'}). This has only +(i.e. @samp{./configure CC='c89 -D_HPUX_SOURCE'}). This has only been tested recently for HPUX 10.20. @node Solaris versions 2.0 through 2.3, Solaris 2.X, HPUX, OS Incompatibilities @@ -823,7 +823,12 @@ You @b{must} compile Kerberos V5 without the UCB compatibility libraries. This means that @file{/usr/ucblib} must not be in the LD_LIBRARY_PATH environment variable when you compile it. Alternatively you can use the @code{-i} option to @samp{cc}, by using the specifying -@code{--with-ccopts=-i} option to @samp{configure}. +@code{CFLAGS=-i} option to @samp{configure}. + +If you are compiling for a 64-bit execution environment, you may need +to configure with the option @code{CFLAGS="-D_XOPEN_SOURCE=500 +-D__EXTENSIONS__"}. This is not well tested; at MIT we work primarily +with the 32-bit execution environment. @node SGI Irix 5.X, Ultrix 4.2/3, Solaris 2.X, OS Incompatibilities @subsection SGI Irix 5.X @@ -852,8 +857,8 @@ GCC instead. On the DEC MIPS platform, using the native compiler, @file{md4.c} and @file{md5.c} can not be compiled with the optimizer set at level 1. -That is, you must specify either @samp{--with-ccopts=-O} and -@samp{--with-ccopts=-g} to configure. If you don't specify either, the +That is, you must specify either @samp{CFLAGS=-O} and +@samp{CFLAGS=-g} to configure. If you don't specify either, the compile will never complete. The optimizer isn't hung; it just takes an exponentially long time. -- 2.26.2