OK. So what should this area of code look like ?
(ie. What's with the export dynamic) :
Starting at line 3160

  hpux10*|hpux11*)
    if test $with_gnu_ld = no; then
      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:

      case $host_cpu in
      hppa*64*|ia64*)
        _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
        ;;
      *)
        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
        ;;
      esac
    fi
    case $host_cpu in
    hppa*64*|ia64*)
      _LT_AC_TAGVAR(hardcode_direct, $1)=no
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
      ;;
    *)
      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
                                              # but as the default
                                              # location of the library.
      ;;
    esac

Roger While

> Albert Chin wrote:
On Wed, Jan 04, 2006 at 10:19:27AM +0100, Roger While wrote:
> Libtool 1.5.22
> There is a problem on HP-UX 64 bit when using gcc.
> Problem is at line 3167 in libtool.m4 :
>         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
>
> gcc doesn't like that !

We can ditch hardcode_libdir_flag_spec_ld for HP-UX.

--
albert chin ([EMAIL PROTECTED])





_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to