OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [m4/] [libtool.m4] - Diff between revs 82 and 90

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 82 Rev 90
Line 2468... Line 2468...
  # This implies no fast_install, which is unacceptable.
  # This implies no fast_install, which is unacceptable.
  # Some rework will be needed to allow for fast_install
  # Some rework will be needed to allow for fast_install
  # before this can be enabled.
  # before this can be enabled.
  hardcode_into_libs=yes
  hardcode_into_libs=yes
 
 
 
  # Add ABI-specific directories to the system library path.
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
 
  # Append ld.so.conf contents to the search path
  # Append ld.so.conf contents to the search path
  if test -f /etc/ld.so.conf; then
  if test -f /etc/ld.so.conf; then
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[   ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[   ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  fi
  fi
 
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
  # We used to test for /lib/ld.so.1 and disable shared libraries on
  # powerpc, because MkLinux only supported shared libraries with the
  # powerpc, because MkLinux only supported shared libraries with the
  # GNU dynamic linker.  Since this was broken with cross compilers,
  # GNU dynamic linker.  Since this was broken with cross compilers,
Line 2483... Line 2486...
  # people can always --disable-shared, the test was removed, and we
  # people can always --disable-shared, the test was removed, and we
  # assume the GNU/Linux dynamic linker is in use.
  # assume the GNU/Linux dynamic linker is in use.
  dynamic_linker='GNU/Linux ld.so'
  dynamic_linker='GNU/Linux ld.so'
  ;;
  ;;
 
 
netbsdelf*-gnu)
 
  version_type=linux
 
  need_lib_prefix=no
 
  need_version=no
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
  shlibpath_var=LD_LIBRARY_PATH
 
  shlibpath_overrides_runpath=no
 
  hardcode_into_libs=yes
 
  dynamic_linker='NetBSD ld.elf_so'
 
  ;;
 
 
 
netbsd*)
netbsd*)
  version_type=sunos
  version_type=sunos
  need_lib_prefix=no
  need_lib_prefix=no
  need_version=no
  need_version=no
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
Line 3086... Line 3077...
# This must be Linux ELF.
# This must be Linux ELF.
linux* | k*bsd*-gnu)
linux* | k*bsd*-gnu)
  lt_cv_deplibs_check_method=pass_all
  lt_cv_deplibs_check_method=pass_all
  ;;
  ;;
 
 
netbsd* | netbsdelf*-gnu)
netbsd*)
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  else
  else
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  fi
  fi
Line 3767... Line 3758...
            ;;
            ;;
          *)
          *)
            ;;
            ;;
        esac
        esac
        ;;
        ;;
      netbsd* | netbsdelf*-gnu)
      netbsd*)
        ;;
        ;;
      *qnx* | *nto*)
      *qnx* | *nto*)
        # QNX uses GNU C++, but need to define -shared option too, otherwise
        # QNX uses GNU C++, but need to define -shared option too, otherwise
        # it will coredump.
        # it will coredump.
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
Line 4192... Line 4183...
    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  ;;
  ;;
  cygwin* | mingw* | cegcc*)
  cygwin* | mingw* | cegcc*)
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  ;;
  ;;
  linux* | k*bsd*-gnu)
 
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
  ;;
 
  *)
  *)
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  ;;
  ;;
  esac
  esac
  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
Line 4259... Line 4247...
    with_gnu_ld=yes
    with_gnu_ld=yes
    ;;
    ;;
  openbsd*)
  openbsd*)
    with_gnu_ld=no
    with_gnu_ld=no
    ;;
    ;;
  linux* | k*bsd*-gnu)
 
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
    ;;
 
  esac
  esac
 
 
  _LT_TAGVAR(ld_shlibs, $1)=yes
  _LT_TAGVAR(ld_shlibs, $1)=yes
  if test "$with_gnu_ld" = yes; then
  if test "$with_gnu_ld" = yes; then
    # If archive_cmds runs LD, not CC, wlarc should be empty
    # If archive_cmds runs LD, not CC, wlarc should be empty
Line 4444... Line 4429...
      else
      else
        _LT_TAGVAR(ld_shlibs, $1)=no
        _LT_TAGVAR(ld_shlibs, $1)=no
      fi
      fi
      ;;
      ;;
 
 
    netbsd* | netbsdelf*-gnu)
    netbsd*)
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
        wlarc=
      else
      else
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
Line 4619... Line 4604...
        esac
        esac
        shared_flag='-shared'
        shared_flag='-shared'
        if test "$aix_use_runtimelinking" = yes; then
        if test "$aix_use_runtimelinking" = yes; then
          shared_flag="$shared_flag "'${wl}-G'
          shared_flag="$shared_flag "'${wl}-G'
        fi
        fi
        _LT_TAGVAR(link_all_deplibs, $1)=no
 
      else
      else
        # not using gcc
        # not using gcc
        if test "$host_cpu" = ia64; then
        if test "$host_cpu" = ia64; then
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
        # chokes on -Wl,-G. The following line is correct:
        # chokes on -Wl,-G. The following line is correct:
Line 4858... Line 4842...
      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
      _LT_TAGVAR(inherit_rpath, $1)=yes
      _LT_TAGVAR(inherit_rpath, $1)=yes
      _LT_TAGVAR(link_all_deplibs, $1)=yes
      _LT_TAGVAR(link_all_deplibs, $1)=yes
      ;;
      ;;
 
 
    netbsd* | netbsdelf*-gnu)
    netbsd*)
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
      else
      else
        _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
        _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
      fi
      fi

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.