libtool
[Top][All Lists]
Advanced

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

Re: Add hppa*64* support to libtool (HEAD branch)


From: ross . alexander
Subject: Re: Add hppa*64* support to libtool (HEAD branch)
Date: Tue, 22 Oct 2002 17:12:11 +0100

Bob,

No, but I am aware of the requirements.  I've looked at the copyright
notice but I access the form.  Can you please email me one.

Cheers,

Ross

---------------------------------------------------------------------------------

Ross Alexander                           "We demand clearly defined
MIS - NEC Europe Limited            boundaries of uncertainty and
Work ph: +44 20 8752 3394         doubt."


                                                                                
                                                           
                      Bob Friesenhahn                                           
                                                           
                      <address@hidden        To:       address@hidden           
                                         
                      llas.tx.us>                cc:       address@hidden       
                                                          
                                                 Subject:  Re: Add hppa*64* 
support to libtool (HEAD branch)                               
                      22/10/2002 17:01                                          
                                                           
                                                                                
                                                           
                                                                                
                                                           




Ross,

This patch seems to be pretty significant.  Do you have paperwork
filed with the FSF which supports significant contributions to
libtool?

Bob

On Tue, 22 Oct 2002 address@hidden wrote:

>
> This patch was made against libtool.m4 version 1.268.
>
>
> ChangeLog
>
> 2002-10-22 Ross Alexander <address@hidden>
>
>       * libtool.m4: Major reorganisation of the HPUX code to add support
> for
>       the 64bit PA-RISC HPUX environment.  The 64bit PA environment is
> based
>       on the ELF-64 standard and is very similar to the IA64 HPUX system.
>       From binutils-2.13 the GNU ld works with elf64hppa for both shared
>       libraries and executables.  The HPUX9 specific code has been
> seperated
>       its own case in AC_LIBTOOL_LANG_CXX_CONFIG and
> AC_LIBTOOL_PROG_LD_SHLIBS.
>
>
>
> *** libtool.m4-head-1.268     Tue Oct 22 15:11:16 2002
> --- libtool.m4    Tue Oct 22 13:10:45 2002
> ***************
> *** 1248,1279 ****
>   hpux9* | hpux10* | hpux11*)
>     # Give a soname corresponding to the major version so that dld.sl
refuses to
>     # link against other versions.
>     version_type=sunos
>     need_lib_prefix=no
>     need_version=no
> !   if test "$host_cpu" = ia64; then
>       hardcode_into_libs=yes
>       dynamic_linker="$host_os dld.so"
>       shlibpath_var=LD_LIBRARY_PATH
>       shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
>       library_names_spec='${libname}${release}.so$versuffix ${libname}
${release}.so$major $libname.so'
>       soname_spec='${libname}${release}.so$major'
>       if test "X$HPUX_IA64_MODE" = X32; then
>         sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32
/usr/local/lib"
>       else
>         sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
>       fi
>       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
> !   else
>       dynamic_linker="$host_os dld.sl"
>       shlibpath_var=SHLIB_PATH
>       shlibpath_overrides_runpath=no # +s is required to enable
SHLIB_PATH
>       library_names_spec='${libname}${release}.sl$versuffix ${libname}
${release}.sl$major $libname.sl'
>       soname_spec='${libname}${release}.sl$major'
> !   fi
>     # HP-UX runs *really* slowly unless shared libraries are mode 555.
>     postinstall_cmds='chmod 555 $lib'
>     ;;
>
>   irix5* | irix6* | nonstopux*)
>     case $host_os in
> --- 1248,1294 ----
>   hpux9* | hpux10* | hpux11*)
>     # Give a soname corresponding to the major version so that dld.sl
refuses to
>     # link against other versions.
>     version_type=sunos
>     need_lib_prefix=no
>     need_version=no
> !   case "$host_cpu" in
> !   ia64*)
>       hardcode_into_libs=yes
>       dynamic_linker="$host_os dld.so"
>       shlibpath_var=LD_LIBRARY_PATH
>       shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
>       library_names_spec='${libname}${release}.so$versuffix ${libname}
${release}.so$major $libname.so'
>       soname_spec='${libname}${release}.so$major'
>       if test "X$HPUX_IA64_MODE" = X32; then
>         sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32
/usr/local/lib"
>       else
>         sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
>       fi
>       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
> !     ;;
> !   hppa*64*)
> !     hardcode_into_libs=yes
> !     dynamic_linker="$host_os dld.sl"
> !     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
> !     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
> !     library_names_spec='${libname}${release}.sl$versuffix ${libname}
${release}.sl$major $libname.sl'
> !     soname_spec='${libname}${release}.sl$major'
> !     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
> !     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
> !     ;;
> !   *)
>       dynamic_linker="$host_os dld.sl"
>       shlibpath_var=SHLIB_PATH
>       shlibpath_overrides_runpath=no # +s is required to enable
SHLIB_PATH
>       library_names_spec='${libname}${release}.sl$versuffix ${libname}
${release}.sl$major $libname.sl'
>       soname_spec='${libname}${release}.sl$major'
> !     sys_lib_search_path_spec="/lib /usr/lib /usr/ccs/lib"
> !     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
> !     ;;
> !   esac
>     # HP-UX runs *really* slowly unless shared libraries are mode 555.
>     postinstall_cmds='chmod 555 $lib'
>     ;;
>
>   irix5* | irix6* | nonstopux*)
>     case $host_os in
> ***************
> *** 1978,1996 ****
>   gnu*)
>     lt_cv_deplibs_check_method=pass_all
>     ;;
>
>   hpux10.20* | hpux11*)
>     lt_cv_file_magic_cmd=/usr/bin/file
> !   if test "$host_cpu" = ia64; then
>       lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]
|ELF-[[0-9]][[0-9]]) shared object file - IA64'
>       lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
> !   else
>       lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]
|PA-RISC[[0-9]].[[0-9]]) shared library'
>       lt_cv_file_magic_test_file=/usr/lib/libc.sl
> !   fi
>     ;;
>
>   irix5* | irix6* | nonstopux*)
>     case $host_os in
>     irix5* | nonstopux*)
>       # this will be overridden with pass_all, but let us keep it just in
case
> --- 1993,2018 ----
>   gnu*)
>     lt_cv_deplibs_check_method=pass_all
>     ;;
>
>   hpux10.20* | hpux11*)
>     lt_cv_file_magic_cmd=/usr/bin/file
> !   case "$host_cpu" in
> !   ia64*)
>       lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]
|ELF-[[0-9]][[0-9]]) shared object file - IA64'
>       lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
> !     ;;
> !   hppa*64*)
> !     lt_cv_deplibs_check_method='file_magic ELF-64 shared object file -
PA-RISC [[0-9]].[[0-9]]'
> !     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
> !     ;;
> !   *)
>       lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]
|PA-RISC[[0-9]].[[0-9]]) shared library'
>       lt_cv_file_magic_test_file=/usr/lib/libc.sl
> !     ;;
> !   esac
>     ;;
>
>   irix5* | irix6* | nonstopux*)
>     case $host_os in
>     irix5* | nonstopux*)
>       # this will be overridden with pass_all, but let us keep it just in
case
> ***************
> *** 2693,2740 ****
>       # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
>       # conventions
>       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
>       ;;
>     gnu*)
>       ;;
> !   hpux*)
>       if test $with_gnu_ld = no; then
> !       if test "$host_cpu" = ia64; then
>       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
> !       else
>       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
>       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
>       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
> !       fi
> !     fi
> !     if test "$host_cpu" = ia64; then
>         _LT_AC_TAGVAR(hardcode_direct, $1)=no
>         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
> !     else
>         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
> !     fi
>       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
>                                   # but as the default
>                                   # location of the library.
>
>       case $cc_basename in
>         CC)
>       # FIXME: insert proper C++ library support
>       _LT_AC_TAGVAR(ld_shlibs, $1)=no
>       ;;
>         aCC)
> !     case $host_os in
> !     hpux9*)
> !       _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC
-b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects
> $libobjs $deplibs $postdep_objects $compiler_flags~test
$output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
>         ;;
>       *)
> !       if test "$host_cpu" = ia64; then
> !         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib
$linker_flags $libobjs $deplibs'
> !       else
> !         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname
${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs
> $postdep_objects $compiler_flags'
> !       fi
>         ;;
>       esac
>       # Commands to make compiler produce verbose output that lists
>       # what "hidden" libraries, object files and flags are used when
>       # linking a shared library.
>       #
> --- 2715,2800 ----
>       # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
>       # conventions
>       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
>       ;;
>     gnu*)
>       ;;
> !   hpux9*)
> !     _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
> !     _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
> !     _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
> !     _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.
> !
> !     case $cc_basename in
> !       CC)
> !     # FIXME: insert proper C++ library support
> !     _LT_AC_TAGVAR(ld_shlibs, $1)=no
> !     ;;
> !       aCC)
> !     _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b
${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects
> $libobjs $deplibs $postdep_objects $compiler_flags~test
$output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
> !     # Commands to make compiler produce verbose output that lists
> !     # what "hidden" libraries, object files and flags are used when
> !     # linking a shared library.
> !     #
> !     # There doesn't appear to be a way to prevent this compiler from
> !     # explicitly linking system object files so we need to strip them
> !     # from the output so that they don't get included in the library
> !     # dependencies.
> !     output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v
conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case
$z in
> conftest.$objext) list="$list $z";; *.$objext);; *) list="$list
$z";;esac; done; echo $list'
> !     ;;
> !       *)
> !     if test "$GXX" = yes; then
> !       _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC
-shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o
$output_objdir/$soname
>  $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test
$output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
> !     else
> !       # FIXME: insert proper C++ library support
> !       _LT_AC_TAGVAR(ld_shlibs, $1)=no
> !     fi
> !     ;;
> !     esac
> !     ;;
> !   hpux10*|hpux11*)
>       if test $with_gnu_ld = no; then
> !       case "$host_cpu" in
> !       ia64*|hppa*64*)
>       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
> !     ;;
> !       *)
>       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
>       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
>       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
> !         ;;
> !       esac
> !     case "$host_cpu" in
> !     ia64*|hppa*64*)
>         _LT_AC_TAGVAR(hardcode_direct, $1)=no
>         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
> !       ;;
> !     *)
>         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
> !       ;;
> !     esac
>       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
>                                   # but as the default
>                                   # location of the library.
> +     fi
>
>       case $cc_basename in
>         CC)
>       # FIXME: insert proper C++ library support
>       _LT_AC_TAGVAR(ld_shlibs, $1)=no
>       ;;
>         aCC)
> !         case "$host_cpu" in
> !     ia64*|hppa*64*)
> !       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib
$linker_flags $libobjs $deplibs'
>         ;;
>       *)
> !       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname
${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs
> $postdep_objects $compiler_flags'
>         ;;
>       esac
>       # Commands to make compiler produce verbose output that lists
>       # what "hidden" libraries, object files and flags are used when
>       # linking a shared library.
>       #
> ***************
> *** 2744,2765 ****
>       # dependencies.
>       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v
conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case
$z in
> conftest.$objext) list="$list $z";; *.$objext);; *) list="$list
$z";;esac; done; echo $list'
>       ;;
>         *)
>       if test "$GXX" = yes; then
>         if test $with_gnu_ld = no; then
> !         case $host_os in
> !         hpux9*)
> !           _LT_AC_TAGVAR(archive_cmds, $1)='$rm
$output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b
${wl}$install_libdir -o
> $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects
$compiler_flags~test $output_objdir/$soname = $lib || mv
> $output_objdir/$soname $lib'
>             ;;
>           *)
> !           if test "$host_cpu" = ia64; then
> !           _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib
$linker_flags $libobjs $deplibs'
> !           else
> !           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC
${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects
> $libobjs $deplibs $postdep_objects $compiler_flags'
> !           fi
>             ;;
>           esac
>         fi
>       else
>         # FIXME: insert proper C++ library support
>         _LT_AC_TAGVAR(ld_shlibs, $1)=no
> --- 2804,2821 ----
>       # dependencies.
>       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v
conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case
$z in
> conftest.$objext) list="$list $z";; *.$objext);; *) list="$list
$z";;esac; done; echo $list'
>       ;;
>         *)
>       if test "$GXX" = yes; then
>         if test $with_gnu_ld = no; then
> !         case "host_cpu" in
> !         ia64*|hppa*64*)
> !           _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib
$linker_flags $libobjs $deplibs'
>             ;;
>           *)
> !           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC
${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects
> $libobjs $deplibs $postdep_objects $compiler_flags'
>             ;;
>           esac
>         fi
>       else
>         # FIXME: insert proper C++ library support
>         _LT_AC_TAGVAR(ld_shlibs, $1)=no
> ***************
> *** 4165,4180 ****
>       sysv4*MP*)
>         if test -d /usr/nec; then
>       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
>         fi
>         ;;
>       hpux*)
> !       # PIC is the default for IA64 HP-UX, but not for PA HP-UX.
> !       if test "$host_cpu" != ia64; then
>       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
> !       fi
>         ;;
>       *)
>         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
>         ;;
>       esac
>     else
> --- 4221,4239 ----
>       sysv4*MP*)
>         if test -d /usr/nec; then
>       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
>         fi
>         ;;
>       hpux*)
> !       # PIC is the default for IA64 and PA64 HP-UX, but not for PA
HP-UX SOM.
> !       case "$host_cpu" in
> !       ia64*|hppa*64*)
> !         ;;
> !       *)
>       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
> !       esac
>         ;;
>       *)
>         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
>         ;;
>       esac
>     else
> ***************
> *** 4408,4422 ****
>       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
>         fi
>         ;;
>
>       hpux*)
>         # PIC is the default for IA64 HP-UX, but not for PA HP-UX.
> !       if test "$host_cpu" != ia64; then
>       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
> !       fi
>         ;;
>
>       *)
>         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
>         ;;
>       esac
> --- 4467,4485 ----
>       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
>         fi
>         ;;
>
>       hpux*)
>         # PIC is the default for IA64 HP-UX, but not for PA HP-UX.
> !       case "$host_cpu" in
> !       ia64*|hppa*64*)
> !         ;;
> !       *)
>       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
> !     ;;
> !       esac
>         ;;
>
>       *)
>         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
>         ;;
>       esac
> ***************
> *** 4438,4452 ****
>         # built for inclusion in a dll (and should export symbols for
example).
>         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
>         ;;
>
>       hpux9* | hpux10* | hpux11*)
>         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
> !       if test "$host_cpu" != ia64; then
>       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
> !       fi
>         # Is there a better lt_prog_compiler_static that works with the
bundled CC?
>         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
>         ;;
>
>       irix5* | irix6* | nonstopux*)
>         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
> --- 4501,4519 ----
>         # built for inclusion in a dll (and should export symbols for
example).
>         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
>         ;;
>
>       hpux9* | hpux10* | hpux11*)
>         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
> !       case "$host_cpu" in
> !       ia64*|hppa*64*)
> !     ;;
> !       *)
>       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
> !     ;;
> !       esac
>         # Is there a better lt_prog_compiler_static that works with the
bundled CC?
>         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
>         ;;
>
>       irix5* | irix6* | nonstopux*)
>         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
> ***************
> *** 5027,5081 ****
>         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs
$deplibs $compiler_flags'
>         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
>         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
>         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
>         ;;
>
> !     hpux9* | hpux10* | hpux11*)
>         if test "$GCC" = yes; then
> !     case $host_os in
> !       hpux9*)
> !         _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC
-shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname
> $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib ||
mv $output_objdir/$soname $lib'
> !         ;;
> !       *)
> !         if test "$host_cpu" = ia64; then
> !           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h
${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
> !         else
> !           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h
${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs
> $compiler_flags'
> !         fi
> !         ;;
> !     esac
> !       else
> !     case $host_os in
> !       hpux9*)
> !         _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD
-b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs
> $linker_flags~test $output_objdir/$soname = $lib || mv
$output_objdir/$soname $lib'
> !         ;;
> !       *)
> !         if test "$host_cpu" = ia64; then
> !           _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib
$libobjs $deplibs $linker_flags'
> !         else
> !           _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b
$install_libdir -o $lib $libobjs $deplibs $linker_flags'
> !         fi
> !         ;;
> !     esac
> !       fi
> !       if test "$host_cpu" = ia64; then
> !     _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
> !     _LT_AC_TAGVAR(hardcode_direct, $1)=no
> !     _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
>         else
> !     _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
> !     _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
> !     _LT_AC_TAGVAR(hardcode_direct, $1)=yes
>         fi
>         # hardcode_minus_L: Not really in the search PATH,
>         # but as the default location of the library.
>         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
>         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
>         ;;
>
>       irix5* | irix6* | nonstopux*)
>         if test "$GCC" = yes; then
>       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs
$compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo
${wl}
> -set_version ${wl}$verstring` ${wl}-update_registry ${wl}
${output_objdir}/so_locations -o $lib'
>         else
>       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs
$linker_flags -soname $soname `test -n "$verstring" && echo -set_version
> $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
>         fi
> --- 5094,5161 ----
>         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs
$deplibs $compiler_flags'
>         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
>         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
>         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
>         ;;
>
> !     hpux9*)
>         if test "$GCC" = yes; then
> !     _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC
-shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname
$libobjs
> $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv
$output_objdir/$soname $lib'
>         else
> !     _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b
+b $install_libdir -o $output_objdir/$soname $libobjs $deplibs
> $linker_flags~test $output_objdir/$soname = $lib || mv
$output_objdir/$soname $lib'
>         fi
> +       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b
${wl}$libdir'
> +       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
> +       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
> +
>         # hardcode_minus_L: Not really in the search PATH,
>         # but as the default location of the library.
>         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
>         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
>         ;;
>
> +     hpux10* | hpux11*)
> +       if test "$GCC" = "yes" -a "$with_gnu_ld" = "no"; then
> +         case "$host_cpu" in
> +     ia64*|hppa*64*)
> +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname
-o $lib $libobjs $deplibs $compiler_flags'
> +       ;;
> +     *)
> +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h
${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs
> $compiler_flags'
> +       ;;
> +     esac
> +       else
> +         case "$host_cpu" in
> +     ia64*|hppa*64*)
> +       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib
$libobjs $deplibs $linker_flags'
> +       ;;
> +     *)
> +       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b
$install_libdir -o $lib $libobjs $deplibs $linker_flags'
> +       ;;
> +     esac
> +       fi
> +       if test "$with_gnu_ld" = "no"; then
> +         case "$host_cpu" in
> +         ia64*|hppa*64*)
> +       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
> +       _LT_AC_TAGVAR(hardcode_direct, $1)=no
> +       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
> +       ;;
> +     *)
> +       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b
${wl}$libdir'
> +       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
> +       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
> +           ;;
> +     esac
> +         # hardcode_minus_L: Not really in the search PATH,
> +         # but as the default location of the library.
> +         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
> +         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
> +       fi
> +       ;;
> +
>       irix5* | irix6* | nonstopux*)
>         if test "$GCC" = yes; then
>       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs
$compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo
${wl}
> -set_version ${wl}$verstring` ${wl}-update_registry ${wl}
${output_objdir}/so_locations -o $lib'
>         else
>       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs
$linker_flags -soname $soname `test -n "$verstring" && echo -set_version
> $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
>         fi
>
>
>
---------------------------------------------------------------------------------

>
> Ross Alexander                           "We demand clearly defined
> MIS - NEC Europe Limited            boundaries of uncertainty and
> Work ph: +44 20 8752 3394         doubt."
>
>
>
>                       Bob Friesenhahn
>                       <address@hidden        To:
address@hidden
>                       llas.tx.us>                cc:       John David
Anglin <address@hidden>, <address@hidden>,
>                       Sent by:                    <address@hidden>,
<address@hidden>
>                       address@hidden        Subject:  Re: Add
hppa*64* support to libtool
>                       rg
>
>
>                       18/10/2002 19:34
>
>
>
>
>
>
> What version of libtool are these changes against?  Please submit a
> formal patch (with ChangeLog entry) against the head of FSF libtool
> CVS.
>
> Thanks,
>
> Bob
>
> ...
>
> ======================================
> Bob Friesenhahn
> address@hidden
> http://www.simplesystems.org/users/bfriesen
>
>
>
>
> _______________________________________________
> Libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool
>
>
>
>
>

======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen










reply via email to

[Prev in Thread] Current Thread [Next in Thread]