Lines Matching refs:LD
1056 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
3300 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3307 ac_prog=ld
3309 # Check if gcc -print-prog-name=ld gives a path.
3310 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3311 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3315 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3317 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3323 # Canonicalize the pathname of ld
3328 test -z "$LD" && LD="$ac_prog"
3332 ac_prog=ld
3335 # If it is relative, then search for the first ld in PATH.
3340 echo "$as_me:$LINENO: checking for GNU ld" >&5
3341 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3343 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3344 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3349 if test -z "$LD"; then
3356 # Check to see if the program is GNU ld. I'd rather use --version,
3357 # but apparently some variants of GNU ld only accept -v.
3358 # Break only if it was the GNU/non-GNU ld that we prefer.
3371 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3375 LD="$lt_cv_path_LD"
3376 if test -n "$LD"; then
3377 echo "$as_me:$LINENO: result: $LD" >&5
3378 echo "${ECHO_T}$LD" >&6
3383 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3384 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3386 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3387 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3392 case `$LD -v 2>&1 </dev/null` in
3406 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3407 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3420 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3426 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3590 case $LD in
3730 LD="${LD-ld} -melf32bsmip"
3733 LD="${LD-ld} -melf32bmipn32"
3736 LD="${LD-ld} -melf64bmip"
3742 LD="${LD-ld} -32"
3745 LD="${LD-ld} -n32"
3748 LD="${LD-ld} -64"
3768 LD="${LD-ld} -m elf_i386"
3771 LD="${LD-ld} -m elf32ppclinux"
3774 LD="${LD-ld} -m elf_s390"
3777 LD="${LD-ld} -m elf32_sparc"
3784 LD="${LD-ld} -m elf_x86_64"
3787 LD="${LD-ld} -m elf64ppc"
3790 LD="${LD-ld} -m elf64_s390"
3793 LD="${LD-ld} -m elf64_sparc"
3888 yes*) LD="${LD-ld} -m elf64_sparc" ;;
3889 *) LD="${LD-ld} -64" ;;
6117 test -z "$LD" && LD=ld
6578 lt_prog_compiler_wl='-Qoption ld ';;
6585 lt_prog_compiler_wl='-Qoption ld '
6807 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6808 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6877 # If archive_cmds runs LD, not CC, wlarc should be empty
6880 # Set some defaults for GNU ld with shared library support. These
6886 # ancient GNU ld didn't support --whole-archive et. al.
6887 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6893 case `$LD -v 2>/dev/null` in
6901 # See if GNU ld supports shared libraries.
6934 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6953 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6985 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7017 archive_cmds='$LD
7026 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7038 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7047 case `$LD -v 2>&1` in
7062 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7074 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7081 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7097 # PORTME fill in a description of your system's linker (not GNU ld)
7102 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7147 # When large executables or shared objects are built, AIX ld can
7338 # see comment about different semantics on the GNU ld section
7397 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7406 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7418 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7432 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7440 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7458 archive_cmds='$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'
7474 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7541 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7551 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7553 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7561 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7579 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7604 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7617 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7619 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7636 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7638 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7647 # without $wl, iff we do not link with $LD.
7666 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7677 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7681 ## LD is ld it makes a PLAMLIB
7683 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7688 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7697 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7704 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7731 # ever link correctly. If we're not using GNU ld we use -z text
7754 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7785 # to ld, don't add -lc before -lgcc.
7845 dynamic_linker="$host_os ld.so"
7930 dynamic_linker="$host_os ld.so"
7943 # the default ld.so.conf also contains /usr/contrib/lib and
8002 dynamic_linker='Win32 ld.exe'
8048 dynamic_linker='GNU ld.so'
8157 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8182 case $LD in # libtool.m4 will add one of these switches to LD
8241 # Append ld.so.conf contents to the search path
8242 if test -f /etc/ld.so.conf; then
8243 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8247 # We used to test for /lib/ld.so.1 and disable shared libraries on
8253 dynamic_linker='GNU/Linux ld.so'
8265 dynamic_linker='GNU ld.so'
8275 dynamic_linker='NetBSD (a.out) ld.so'
8279 dynamic_linker='NetBSD ld.elf_so'
8334 dynamic_linker='OS/2 ld.exe'
9388 LD \
9556 LD=$lt_LD
9749 # If ld is used when linking, flag to hardcode \$libdir into
9989 lt_save_LD=$LD
10004 test -z "${LDCXX+set}" || LD=$LDCXX
10031 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10038 ac_prog=ld
10040 # Check if gcc -print-prog-name=ld gives a path.
10041 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10042 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10046 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10048 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10054 # Canonicalize the pathname of ld
10059 test -z "$LD" && LD="$ac_prog"
10063 ac_prog=ld
10066 # If it is relative, then search for the first ld in PATH.
10071 echo "$as_me:$LINENO: checking for GNU ld" >&5
10072 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10074 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10075 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10080 if test -z "$LD"; then
10087 # Check to see if the program is GNU ld. I'd rather use --version,
10088 # but apparently some variants of GNU ld only accept -v.
10089 # Break only if it was the GNU/non-GNU ld that we prefer.
10102 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10106 LD="$lt_cv_path_LD"
10107 if test -n "$LD"; then
10108 echo "$as_me:$LINENO: result: $LD" >&5
10109 echo "${ECHO_T}$LD" >&6
10114 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10115 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10117 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10118 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10123 case `$LD -v 2>&1 </dev/null` in
10138 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10139 # archiving commands below assume that GNU ld is being used.
10147 # If archive_cmds runs LD, not CC, wlarc should be empty
10152 # ancient GNU ld didn't support --whole-archive et. al.
10153 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10165 # linker, instead of GNU ld. If possible, this setting should
10183 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10184 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10220 # When large executables or shared objects are built, AIX ld can
10409 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10436 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10490 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10503 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10539 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10715 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10775 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10801 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10864 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10927 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11066 # ever link correctly. If we're not using GNU ld we use -z text
11126 LD_CXX="$LD"
11483 lt_prog_compiler_wl_CXX='-Qoption ld '
11717 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11718 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11762 # to ld, don't add -lc before -lgcc.
11822 dynamic_linker="$host_os ld.so"
11907 dynamic_linker="$host_os ld.so"
11920 # the default ld.so.conf also contains /usr/contrib/lib and
11979 dynamic_linker='Win32 ld.exe'
12025 dynamic_linker='GNU ld.so'
12134 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12159 case $LDLD
12218 # Append ld.so.conf contents to the search path
12219 if test -f /etc/ld.so.conf; then
12220 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12224 # We used to test for /lib/ld.so.1 and disable shared libraries on
12230 dynamic_linker='GNU/Linux ld.so'
12242 dynamic_linker='GNU ld.so'
12252 dynamic_linker='NetBSD (a.out) ld.so'
12256 dynamic_linker='NetBSD ld.elf_so'
12311 dynamic_linker='OS/2 ld.exe'
12609 LD=$lt_LD_CXX
12802 # If ld is used when linking, flag to hardcode \$libdir into
12880 LDCXX=$LD
12881 LD=$lt_save_LD
13014 LD_F77="$LD"
13183 lt_prog_compiler_wl_F77='-Qoption ld ';;
13190 lt_prog_compiler_wl_F77='-Qoption ld '
13412 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13413 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13482 # If archive_cmds runs LD, not CC, wlarc should be empty
13485 # Set some defaults for GNU ld with shared library support. These
13491 # ancient GNU ld didn't support --whole-archive et. al.
13492 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13498 case `$LD -v 2>/dev/null` in
13506 # See if GNU ld supports shared libraries.
13539 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13558 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13590 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13622 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13631 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13643 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13652 case `$LD -v 2>&1` in
13667 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13679 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13686 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13702 # PORTME fill in a description of your system's linker (not GNU ld)
13707 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13752 # When large executables or shared objects are built, AIX ld can
13923 # see comment about different semantics on the GNU ld section
13982 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13991 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14003 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14017 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14025 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14043 archive_cmds_F77='$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'
14059 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14126 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14136 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14138 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14146 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14164 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14189 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14202 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14204 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14221 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14223 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14232 # without $wl, iff we do not link with $LD.
14251 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14262 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14266 ## LD is ld it makes a PLAMLIB
14268 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14273 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14282 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14289 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14316 # ever link correctly. If we're not using GNU ld we use -z text
14339 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14370 # to ld, don't add -lc before -lgcc.
14430 dynamic_linker="$host_os ld.so"
14515 dynamic_linker="$host_os ld.so"
14528 # the default ld.so.conf also contains /usr/contrib/lib and
14587 dynamic_linker='Win32 ld.exe'
14633 dynamic_linker='GNU ld.so'
14742 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14767 case $LD in # libtool.m4 will add one of these switches to LD
14826 # Append ld.so.conf contents to the search path
14827 if test -f /etc/ld.so.conf; then
14828 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14832 # We used to test for /lib/ld.so.1 and disable shared libraries on
14838 dynamic_linker='GNU/Linux ld.so'
14850 dynamic_linker='GNU ld.so'
14860 dynamic_linker='NetBSD (a.out) ld.so'
14864 dynamic_linker='NetBSD ld.elf_so'
14919 dynamic_linker='OS/2 ld.exe'
15217 LD=$lt_LD_F77
15410 # If ld is used when linking, flag to hardcode \$libdir into
15779 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
15786 lt_prog_compiler_wl_GCJ='-Qoption ld '
16008 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16009 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16078 # If archive_cmds runs LD, not CC, wlarc should be empty
16081 # Set some defaults for GNU ld with shared library support. These
16087 # ancient GNU ld didn't support --whole-archive et. al.
16088 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16094 case `$LD -v 2>/dev/null` in
16102 # See if GNU ld supports shared libraries.
16135 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16154 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16186 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16218 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16227 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16239 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16248 case `$LD -v 2>&1` in
16263 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16275 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16282 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16298 # PORTME fill in a description of your system's linker (not GNU ld)
16303 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16348 # When large executables or shared objects are built, AIX ld can
16539 # see comment about different semantics on the GNU ld section
16598 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16607 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16619 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16633 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16641 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16659 archive_cmds_GCJ='$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'
16675 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16742 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16752 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16754 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16762 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16780 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16805 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16818 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16820 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16837 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16839 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16848 # without $wl, iff we do not link with $LD.
16867 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16878 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16882 ## LD is ld it makes a PLAMLIB
16884 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16889 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16898 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16905 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16932 # ever link correctly. If we're not using GNU ld we use -z text
16955 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16986 # to ld, don't add -lc before -lgcc.
17046 dynamic_linker="$host_os ld.so"
17131 dynamic_linker="$host_os ld.so"
17144 # the default ld.so.conf also contains /usr/contrib/lib and
17203 dynamic_linker='Win32 ld.exe'
17249 dynamic_linker='GNU ld.so'
17358 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17383 case $LD in # libtool.m4 will add one of these switches to LD
17442 # Append ld.so.conf contents to the search path
17443 if test -f /etc/ld.so.conf; then
17444 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17448 # We used to test for /lib/ld.so.1 and disable shared libraries on
17454 dynamic_linker='GNU/Linux ld.so'
17466 dynamic_linker='GNU ld.so'
17476 dynamic_linker='NetBSD (a.out) ld.so'
17480 dynamic_linker='NetBSD ld.elf_so'
17535 dynamic_linker='OS/2 ld.exe'
17833 LD=$lt_LD_GCJ
18026 ld is used when linking, flag to hardcode \$libdir into
18314 LD=$lt_LD_RC
18507 # If ld is used when linking, flag to hardcode \$libdir into