Lines Matching refs:LD
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
639 LD
1427 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
5202 # Check whether --with-gnu-ld was given.
5209 ac_prog=ld
5211 # Check if gcc -print-prog-name=ld gives a path.
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5213 $as_echo_n "checking for ld used by $CC... " >&6; }
5217 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5219 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5225 # Canonicalize the pathname of ld
5230 test -z "$LD" && LD="$ac_prog"
5234 ac_prog=ld
5237 # If it is relative, then search for the first ld in PATH.
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5243 $as_echo_n "checking for GNU ld... " >&6; }
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5246 $as_echo_n "checking for non-GNU ld... " >&6; }
5251 if test -z "$LD"; then
5258 # Check to see if the program is GNU ld. I'd rather use --version,
5259 # but apparently some variants of GNU ld only accept -v.
5260 # Break only if it was the GNU/non-GNU ld that we prefer.
5273 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5277 LD="$lt_cv_path_LD"
5278 if test -n "$LD"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5280 $as_echo "$LD" >&6; }
5285 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5287 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5292 case `$LD -v 2>&1 </dev/null` in
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5799 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5812 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5823 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6051 case $LD in
6910 relocations are performed -- see ld's documentation on pseudo-relocs. */
7115 LD="${LD-ld} -melf32bsmip"
7118 LD="${LD-ld} -melf32bmipn32"
7121 LD="${LD-ld} -melf64bmip"
7127 LD="${LD-ld} -32"
7130 LD="${LD-ld} -n32"
7133 LD="${LD-ld} -64"
7154 LD="${LD-ld} -m elf_i386_fbsd"
7157 LD="${LD-ld} -m elf_i386"
7160 LD="${LD-ld} -m elf32ppclinux"
7163 LD="${LD-ld} -m elf_s390"
7166 LD="${LD-ld} -m elf32_sparc"
7173 LD="${LD-ld} -m elf_x86_64_fbsd"
7176 LD="${LD-ld} -m elf_x86_64"
7179 LD="${LD-ld} -m elf64ppc"
7182 LD="${LD-ld} -m elf64_s390"
7185 LD="${LD-ld} -m elf64_sparc"
7252 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7254 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7255 LD="${LD-ld} -64"
8220 test -z "$LD" && LD=ld
8731 lt_prog_compiler_wl='-Qoption ld ';;
8738 lt_prog_compiler_wl='-Qoption ld '
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9046 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9112 # On some targets, GNU ld is compatible enough with the native linker
9118 # The AIX port of GNU ld has always aspired to compatibility
9119 # with the native linker. However, as the warning in the GNU ld
9122 case `$LD -v 2>&1` in
9138 # If archive_cmds runs LD, not CC, wlarc should be empty
9141 # Set some defaults for GNU ld with shared library support. These
9147 # ancient GNU ld didn't support --whole-archive et. al.
9148 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9154 case `$LD -v 2>&1` in
9163 # See if GNU ld supports shared libraries.
9198 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9219 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9262 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9316 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9321 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9332 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9341 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9353 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9362 case `$LD -v 2>&1` in
9381 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9393 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9400 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9416 # PORTME fill in a description of your system's linker (not GNU ld)
9421 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'
9468 # When large executables or shared objects are built, AIX ld can
9763 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9777 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9785 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9803 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'
9819 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9893 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9924 # Try to use the -exported_symbol ld option, if it does not
9966 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9968 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9976 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9987 if test -f /usr/libexec/ld.so; then
9999 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10063 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10065 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10100 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10111 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10115 ## LD is ld it makes a PLAMLIB
10117 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10122 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10165 # ever link correctly. If we're not using GNU ld we use -z text
10188 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10243 # to ld, don't add -lc before -lgcc.
10530 dynamic_linker="$host_os ld.so"
10610 dynamic_linker="$host_os ld.so"
10623 # the default ld.so.conf also contains /usr/contrib/lib and
10669 dynamic_linker='Win32 ld.exe'
10731 dynamic_linker='Win32 ld.exe'
10888 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10913 case $LD in # libtool.m4 will add one of these switches to LD
10947 # Some binutils ld are patched to set DT_RUNPATH
10986 # Append ld.so.conf contents to the search path
10987 if test -f /etc/ld.so.conf; then
10988 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' ' '`
10992 # We used to test for /lib/ld.so.1 and disable shared libraries on
10998 dynamic_linker='GNU/Linux ld.so'
11010 dynamic_linker='NetBSD ld.elf_so'
11020 dynamic_linker='NetBSD (a.out) ld.so'
11024 dynamic_linker='NetBSD ld.elf_so'
11081 dynamic_linker='OS/2 ld.exe'
12634 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12874 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13005 LD \
14132 LD=$lt_LD
14192 # Whether we are building with GNU ld or not.
14205 # If ld is used when linking, flag to hardcode \$libdir into a binary