Lines Matching refs:LD
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
640 LD
1426 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
5013 # Check whether --with-gnu-ld was given.
5020 ac_prog=ld
5022 # Check if gcc -print-prog-name=ld gives a path.
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5024 $as_echo_n "checking for ld used by $CC... " >&6; }
5028 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5030 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5036 # Canonicalize the pathname of ld
5041 test -z "$LD" && LD="$ac_prog"
5045 ac_prog=ld
5048 # If it is relative, then search for the first ld in PATH.
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5054 $as_echo_n "checking for GNU ld... " >&6; }
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5057 $as_echo_n "checking for non-GNU ld... " >&6; }
5062 LD"; then
5069 # Check to see if the program is GNU ld. I'd rather use --version,
5070 # but apparently some variants of GNU ld only accept -v.
5071 # Break only if it was the GNU/non-GNU ld that we prefer.
5084 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5088 LD="$lt_cv_path_LD"
5089 if test -n "$LD"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5091 $as_echo "$LD" >&6; }
5096 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5098 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5103 case `$LD -v 2>&1 </dev/null` in
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5536 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5549 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5555 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5783 case $LD in
6553 LD="${LD-ld} -melf32bsmip"
6556 LD="${LD-ld} -melf32bmipn32"
6559 LD="${LD-ld} -melf64bmip"
6565 LD="${LD-ld} -32"
6568 LD="${LD-ld} -n32"
6571 LD="${LD-ld} -64"
6592 LD="${LD-ld} -m elf_i386_fbsd"
6595 LD="${LD-ld} -m elf_i386"
6598 LD="${LD-ld} -m elf32ppclinux"
6601 LD="${LD-ld} -m elf_s390"
6604 LD="${LD-ld} -m elf32_sparc"
6611 LD="${LD-ld} -m elf_x86_64_fbsd"
6614 LD="${LD-ld} -m elf_x86_64"
6617 LD="${LD-ld} -m elf64ppc"
6620 LD="${LD-ld} -m elf64_s390"
6623 LD="${LD-ld} -m elf64_sparc"
6690 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6692 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6693 LD="${LD-ld} -64"
7571 test -z "$LD" && LD=ld
8078 lt_prog_compiler_wl='-Qoption ld ';;
8085 lt_prog_compiler_wl='-Qoption ld '
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8384 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8447 # On some targets, GNU ld is compatible enough with the native linker
8453 # The AIX port of GNU ld has always aspired to compatibility
8454 # with the native linker. However, as the warning in the GNU ld
8457 case `$LD -v 2>&1` in
8473 # If archive_cmds runs LD, not CC, wlarc should be empty
8476 # Set some defaults for GNU ld with shared library support. These
8482 # ancient GNU ld didn't support --whole-archive et. al.
8483 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8489 case `$LD -v 2>&1` in
8498 # See if GNU ld supports shared libraries.
8533 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8553 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8596 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8650 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8655 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8666 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8675 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8687 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8696 case `$LD -v 2>&1` in
8715 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8727 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8734 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8750 # PORTME fill in a description of your system's linker (not GNU ld)
8755 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'
8802 # When large executables or shared objects are built, AIX ld can
9027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9041 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9049 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9067 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'
9083 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9157 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9188 # Try to use the -exported_symbol ld option, if it does not
9217 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9219 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9227 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9238 if test -f /usr/libexec/ld.so; then
9250 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9314 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9316 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9351 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9362 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9366 ## LD is ld it makes a PLAMLIB
9368 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9382 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9389 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9416 # ever link correctly. If we're not using GNU ld we use -z text
9439 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9494 # to ld, don't add -lc before -lgcc.
9781 dynamic_linker="$host_os ld.so"
9861 dynamic_linker="$host_os ld.so"
9874 # the default ld.so.conf also contains /usr/contrib/lib and
9925 dynamic_linker='Win32 ld.exe'
10079 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10104 case $LD in # libtool.m4 will add one of these switches to LD
10138 # Some binutils ld are patched to set DT_RUNPATH
10177 # Append ld.so.conf contents to the search path
10178 if test -f /etc/ld.so.conf; then
10179 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;s/"//g;/^$/d' | tr '\n' ' '`
10183 # We used to test for /lib/ld.so.1 and disable shared libraries on
10189 dynamic_linker='GNU/Linux ld.so'
10199 dynamic_linker='NetBSD (a.out) ld.so'
10203 dynamic_linker='NetBSD ld.elf_so'
10260 dynamic_linker='OS/2 ld.exe'
11903 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12143 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12264 LD \
13353 LD=$lt_LD
13413 # Whether we are building with GNU ld or not.
13426 # If ld is used when linking, flag to hardcode \$libdir into a binary