⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.rpath

📁 fdisk 实现源码,可以查询Linux下系统的分区信息
💻 RPATH
📖 第 1 页 / 共 2 页
字号:
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"      else        if test "$host_cpu" = ia64; then          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'        else          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"        fi      fi      ;;    amigaos*)      hardcode_libdir_flag_spec='-L$libdir'      hardcode_minus_L=yes      # see comment about different semantics on the GNU ld section      ld_shlibs=no      ;;    bsdi[45]*)      ;;    cygwin* | mingw* | pw32*)      # When not using gcc, we currently assume that we are using      # Microsoft Visual C++.      # hardcode_libdir_flag_spec is actually meaningless, as there is      # no search path for DLLs.      hardcode_libdir_flag_spec=' '      libext=lib      ;;    darwin* | rhapsody*)      hardcode_direct=no      if test "$GCC" = yes ; then        :      else        case $cc_basename in          xlc*)            ;;          *)            ld_shlibs=no            ;;        esac      fi      ;;    dgux*)      hardcode_libdir_flag_spec='-L$libdir'      ;;    freebsd1*)      ld_shlibs=no      ;;    freebsd2.2*)      hardcode_libdir_flag_spec='-R$libdir'      hardcode_direct=yes      ;;    freebsd2*)      hardcode_direct=yes      hardcode_minus_L=yes      ;;    freebsd* | kfreebsd*-gnu | dragonfly*)      hardcode_libdir_flag_spec='-R$libdir'      hardcode_direct=yes      ;;    hpux9*)      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'      hardcode_libdir_separator=:      hardcode_direct=yes      # hardcode_minus_L: Not really in the search PATH,      # but as the default location of the library.      hardcode_minus_L=yes      ;;    hpux10*)      if test "$with_gnu_ld" = no; then        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'        hardcode_libdir_separator=:        hardcode_direct=yes        # hardcode_minus_L: Not really in the search PATH,        # but as the default location of the library.        hardcode_minus_L=yes      fi      ;;    hpux11*)      if test "$with_gnu_ld" = no; then        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'        hardcode_libdir_separator=:        case $host_cpu in          hppa*64*|ia64*)            hardcode_direct=no            ;;          *)            hardcode_direct=yes            # hardcode_minus_L: Not really in the search PATH,            # but as the default location of the library.            hardcode_minus_L=yes            ;;        esac      fi      ;;    irix5* | irix6* | nonstopux*)      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'      hardcode_libdir_separator=:      ;;    netbsd*)      hardcode_libdir_flag_spec='-R$libdir'      hardcode_direct=yes      ;;    newsos6)      hardcode_direct=yes      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'      hardcode_libdir_separator=:      ;;    openbsd*)      hardcode_direct=yes      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'      else        case "$host_os" in          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)            hardcode_libdir_flag_spec='-R$libdir'            ;;          *)            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'            ;;        esac      fi      ;;    os2*)      hardcode_libdir_flag_spec='-L$libdir'      hardcode_minus_L=yes      ;;    osf3*)      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'      hardcode_libdir_separator=:      ;;    osf4* | osf5*)      if test "$GCC" = yes; then        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'      else        # Both cc and cxx compiler support -rpath directly        hardcode_libdir_flag_spec='-rpath $libdir'      fi      hardcode_libdir_separator=:      ;;    solaris*)      hardcode_libdir_flag_spec='-R$libdir'      ;;    sunos4*)      hardcode_libdir_flag_spec='-L$libdir'      hardcode_direct=yes      hardcode_minus_L=yes      ;;    sysv4)      case $host_vendor in        sni)          hardcode_direct=yes # is this really true???          ;;        siemens)          hardcode_direct=no          ;;        motorola)          hardcode_direct=no #Motorola manual says yes, but my tests say they lie          ;;      esac      ;;    sysv4.3*)      ;;    sysv4*MP*)      if test -d /usr/nec; then        ld_shlibs=yes      fi      ;;    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)      ;;    sysv5* | sco3.2v5* | sco5v6*)      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'      hardcode_libdir_separator=':'      ;;    uts4*)      hardcode_libdir_flag_spec='-L$libdir'      ;;    *)      ld_shlibs=no      ;;  esacfi# Check dynamic linker characteristics# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER.libname_spec='lib$name'case "$host_os" in  aix3*)    ;;  aix4* | aix5*)    ;;  amigaos*)    ;;  beos*)    ;;  bsdi[45]*)    ;;  cygwin* | mingw* | pw32*)    shrext=.dll    ;;  darwin* | rhapsody*)    shrext=.dylib    ;;  dgux*)    ;;  freebsd1*)    ;;  kfreebsd*-gnu)    ;;  freebsd* | dragonfly*)    ;;  gnu*)    ;;  hpux9* | hpux10* | hpux11*)    case $host_cpu in      ia64*)        shrext=.so        ;;      hppa*64*)        shrext=.sl        ;;      *)        shrext=.sl        ;;    esac    ;;  interix3*)    ;;  irix5* | irix6* | nonstopux*)    case "$host_os" in      irix5* | nonstopux*)        libsuff= shlibsuff=        ;;      *)        case $LD in          *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;          *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;          *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;          *) libsuff= shlibsuff= ;;        esac        ;;    esac    ;;  linux*oldld* | linux*aout* | linux*coff*)    ;;  linux*)    ;;  knetbsd*-gnu)    ;;  netbsd*)    ;;  newsos6)    ;;  nto-qnx*)    ;;  openbsd*)    ;;  os2*)    libname_spec='$name'    shrext=.dll    ;;  osf3* | osf4* | osf5*)    ;;  solaris*)    ;;  sunos4*)    ;;  sysv4 | sysv4.3*)    ;;  sysv4*MP*)    ;;  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)    ;;  uts4*)    ;;esacsed_quote_subst='s/\(["`$\\]\)/\\\1/g'escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`shlibext=`echo "$shrext" | sed -e 's,^\.,,'`escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF# How to pass a linker flag through the compiler.wl="$escaped_wl"# Static library suffix (normally "a").libext="$libext"# Shared library suffix (normally "so").shlibext="$shlibext"# Flag to hardcode \$libdir into a binary during linking.# This must work even if \$libdir does not exist.hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"# Whether we need a single -rpath flag with a separated argument.hardcode_libdir_separator="$hardcode_libdir_separator"# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the# resulting binary.hardcode_direct="$hardcode_direct"# Set to yes if using the -LDIR flag during linking hardcodes DIR into the# resulting binary.hardcode_minus_L="$hardcode_minus_L"EOF

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -