Lines Matching refs:ld
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
870 LD
1508 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
5528 # Check whether --with-gnu-ld was given.
5535 ac_prog=ld
5537 # Check if gcc -print-prog-name=ld gives a path.
5538 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5539 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5543 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5545 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5551 # Canonicalize the pathname of ld
5556 test -z "$LD" && LD="$ac_prog"
5560 ac_prog=ld
5563 # If it is relative, then search for the first ld in PATH.
5568 { echo "$as_me:$LINENO: checking for GNU ld" >&5
5569 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5571 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5572 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5577 if test -z "$LD"; then
5584 # Check to see if the program is GNU ld. I'd rather use --version,
5585 # but apparently some variants of GNU ld only accept -v.
5586 # Break only if it was the GNU/non-GNU ld that we prefer.
5599 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5603 LD="$lt_cv_path_LD"
5604 if test -n "$LD"; then
5605 { echo "$as_me:$LINENO: result: $LD" >&5
5606 echo "${ECHO_T}$LD" >&6; }
5611 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5612 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5614 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5615 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5620 case `$LD -v 2>&1 </dev/null` in
6039 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6040 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6053 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6059 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6174 case $LD in
6945 LD="${LD-ld} -melf32bsmip"
6948 LD="${LD-ld} -melf32bmipn32"
6951 LD="${LD-ld} -melf64bmip"
6957 LD="${LD-ld} -32"
6960 LD="${LD-ld} -n32"
6963 LD="${LD-ld} -64"
6984 LD="${LD-ld} -m elf_i386_fbsd"
6987 LD="${LD-ld} -m elf_i386"
6990 LD="${LD-ld} -m elf32ppclinux"
6993 LD="${LD-ld} -m elf_s390"
6996 LD="${LD-ld} -m elf32_sparc"
7003 LD="${LD-ld} -m elf_x86_64_fbsd"
7006 LD="${LD-ld} -m elf_x86_64"
7009 LD="${LD-ld} -m elf64ppc"
7012 LD="${LD-ld} -m elf64_s390"
7015 LD="${LD-ld} -m elf64_sparc"
7107 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7109 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7110 LD="${LD-ld} -64"
8777 test -z "$LD" && LD=ld
9255 lt_prog_compiler_wl='-Qoption ld ';;
9262 lt_prog_compiler_wl='-Qoption ld '
9560 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9561 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9624 # If archive_cmds runs LD, not CC, wlarc should be empty
9627 # Set some defaults for GNU ld with shared library support. These
9633 # ancient GNU ld didn't support --whole-archive et. al.
9634 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9640 case `$LD -v 2>&1` in
9648 # See if GNU ld supports shared libraries.
9682 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9701 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9739 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9785 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9790 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9801 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9810 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9822 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9831 case `$LD -v 2>&1` in
9850 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9862 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9869 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9885 # PORTME fill in a description of your system's linker (not GNU ld)
9890 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'
9935 # When large executables or shared objects are built, AIX ld can
10200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10214 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10222 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10240 archive_cmds='$RM $output_objdir/$soname~$LD
10256 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10322 # Try to use the -exported_symbol ld option, if it does not
10373 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10375 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10383 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10394 if test -f /usr/libexec/ld.so; then
10406 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10470 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10472 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10507 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10518 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10522 ## LD is ld it makes a PLAMLIB
10524 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10529 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10538 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10545 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10572 # ever link correctly. If we're not using GNU ld we use -z text
10595 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10650 # to ld, don't add -lc before -lgcc.
10918 dynamic_linker="$host_os ld.so"
10998 dynamic_linker="$host_os ld.so"
11011 # the default ld.so.conf also contains /usr/contrib/lib and
11073 dynamic_linker='Win32 ld.exe'
11212 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11237 case $LD in # libtool.m4 will add one of these switches to LD
11270 # Some binutils ld
11329 # Append ld.so.conf contents to the search path
11330 if test -f /etc/ld.so.conf; then
11331 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' ' '`
11335 # We used to test for /lib/ld.so.1 and disable shared libraries on
11341 dynamic_linker='GNU/Linux ld.so'
11351 dynamic_linker='NetBSD (a.out) ld.so'
11355 dynamic_linker='NetBSD ld.elf_so'
11412 dynamic_linker='OS/2 ld.exe'
12641 lt_save_LD=$LD
12656 test -z "${LDCXX+set}" || LD=$LDCXX
12685 # Check whether --with-gnu-ld was given.
12692 ac_prog=ld
12694 # Check if gcc -print-prog-name=ld gives a path.
12695 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12696 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12700 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12702 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12708 # Canonicalize the pathname of ld
12713 test -z "$LD" && LD="$ac_prog"
12717 ac_prog=ld
12720 # If it is relative, then search for the first ld in PATH.
12725 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12726 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12728 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12729 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12734 if test -z "$LD"; then
12741 # Check to see if the program is GNU ld. I'd rather use --version,
12742 # but apparently some variants of GNU ld only accept -v.
12743 # Break only if it was the GNU/non-GNU ld that we prefer.
12756 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12760 LD="$lt_cv_path_LD"
12761 if test -n "$LD"; then
12762 { echo "$as_me:$LINENO: result: $LD" >&5
12763 echo "${ECHO_T}$LD" >&6; }
12768 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12769 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12771 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12772 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12777 case `$LD -v 2>&1 </dev/null` in
12796 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12797 # archiving commands below assume that GNU ld is being used.
12805 # If archive_cmds runs LD, not CC, wlarc should be empty
12810 # ancient GNU ld didn't support --whole-archive et. al.
12811 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12823 # linker, instead of GNU ld. If possible, this setting should
12841 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12842 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12878 # When large executables or shared objects are built, AIX ld can
13082 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13109 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13180 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13362 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 "X$list" | $Xsed'
13445 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
13448 # IBM XL 8.0 on PPC, with GNU ld
13511 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13531 if test -f /usr/libexec/ld.so; then
13601 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
13753 # ever link correctly. If we're not using GNU ld we use -z text
13808 LD_CXX="$LD"
14209 lt_prog_compiler_wl_CXX='-Qoption ld '
14264 lt_prog_compiler_wl_CXX='-Qoption ld '
14559 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14560 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14612 # to ld, don't add -lc before -lgcc.
14736 dynamic_linker="$host_os ld.so"
14816 dynamic_linker="$host_os ld.so"
14829 # the default ld.so.conf also contains /usr/contrib/lib and
14891 dynamic_linker='Win32 ld.exe'
15029 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15054 case $LD in # libtool.m4 will add one of these switches to LD
15087 # Some binutils ld are patched to set DT_RUNPATH
15146 # Append ld.so.conf contents to the search path
15147 if test -f /etc/ld.so.conf; then
15148 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' ' '`
15152 # We used to test for /lib/ld.so.1 and disable shared libraries on
15158 dynamic_linker='GNU/Linux ld.so'
15168 dynamic_linker='NetBSD (a.out) ld.so'
15172 dynamic_linker='NetBSD ld.elf_so'
15229 dynamic_linker='OS/2 ld.exe'
15447 LDCXX=$LD
15448 LD=$lt_save_LD
16899 # compiler. If not (and OS X's ld, for instance, does not accept -z),
17732 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17936 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18099 LD \
18481 LD!$LD$ac_delim
19342 LD=$lt_LD
19398 # Whether we are building with GNU ld or not.
19411 # If ld is used when linking, flag to hardcode \$libdir into a binary
19727 LD=$lt_LD_CXX
19783 # Whether we are building with GNU ld or not.
19796 # If ld is used when linking, flag to hardcode \$libdir into a binary