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

Re: build fails on hppa (gcc 3.X problem?)



Thanks for all explainations.
Here's what I understood and (hopefully) "fixed":
in ./configure.in :

case "$ARCH" in
  *hppa*linux)
        AC_DEFINE(SO_EXT, "so")
        if test "$GCC" = "yes"; then
            LDFLAGS="$LDFLAGS -Wl,-E"
            LD_SHAREFLAGS="-Wl"
        else
            LDFLAGS="$LDFLAGS -E"
        fi
        ;;
  *hppa*|*hpux*)
        AC_DEFINE(SO_EXT, "so")
        if test "$GCC" = "yes"; then
            LDFLAGS="$LDFLAGS -Wl,-E"
            LD_SHAREFLAGS="-Wl,-b"
        else
            LDFLAGS="$LDFLAGS -E"
        fi
        ;;
  *solaris*)
.....
  *)
        AC_DEFINE(SO_EXT, "so")
        ;;
esac

Then I ran autoconf.

Do You think it'll work?
A package fixed this way is about to be uploaded by my sponsor
(or has been uploaded already - not sure).

As I understood the "-b" option caused all the problem and as
commercial ld differs from GNU ld - it is unnecessary?

Is this fix "good looking" for You ?

Best regards

					Grzegorz Prokopski

Attachment: pgpze5jyrPT6k.pgp
Description: PGP signature


Reply to: