Re: [xml] misc warnings compiling libxml2-2.6.22 (cvs snapshot dloaded 2005/12/09) with HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]



Rick Jones wrote:
(I'm not sure if the -Wp,-H30000 stuff is required on the ia64 platform, I have a question in to a compiler contact on that one)

My compiler contact has stated that the -Wp,-H30000 bit is only required on IPF/ia64 if one uses +legacy_cpp, so this in configure:

if test "${GCC}" != "yes" ; then
    case "${host}" in
          *-*-hpux* )
               CFLAGS="${CFLAGS} -Wp,-H30000"
               ;;
          *-dec-osf* )
               CFLAGS="${CFLAGS} -ieee"
               ;;
          alpha*-*-linux* )
               CFLAGS="${CFLAGS} -ieee"
               ;;
    esac

might be changed to:

if test "${GCC}" != "yes" ; then
    case "${host}" in
          hppa*-*-hpux* )
               CFLAGS="${CFLAGS} -Wp,-H30000"
               ;;
          *-dec-osf* )
               CFLAGS="${CFLAGS} -ieee"
               ;;
          alpha*-*-linux* )
               CFLAGS="${CFLAGS} -ieee"
               ;;
    esac

so it only "hits" when "hppa" is in the first part as in hppa2.0w-hp-hpux11.11 etc I tried that on my IPF system and it seems to get at least as far as the original. Now, there were ancient Motorola 68K-based systems running HP-UX, the last OS release for those was HP-UX 9.10 and somehow I suspect that noone is trying to compile libxml2 on those, so having it only tweak on hppa*... is likely OK, and I've no idea if the HP compilers back then for 68K even took the -Wp,-H30000 flags anyway :)

sincerely,

rick jones



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]