Home | History | Annotate | Download | only in dist

Lines Matching refs:LD

517 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
825 LD
1604 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
4343 # Check whether --with-gnu-ld was given.
4350 ac_prog=ld
4352 # Check if gcc -print-prog-name=ld gives a path.
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4354 $as_echo_n "checking for ld used by $CC... " >&6; }
4358 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4360 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4366 # Canonicalize the pathname of ld
4371 test -z "$LD" && LD="$ac_prog"
4375 ac_prog=ld
4378 # If it is relative, then search for the first ld in PATH.
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4384 $as_echo_n "checking for GNU ld... " >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4387 $as_echo_n "checking for non-GNU ld... " >&6; }
4392 if test -z "$LD"; then
4399 # Check to see if the program is GNU ld. I'd rather use --version,
4400 # but apparently some variants of GNU ld only accept -v.
4401 # Break only if it was the GNU/non-GNU ld that we prefer.
4414 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4418 LD="$lt_cv_path_LD"
4419 if test -n "$LD"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4421 $as_echo "$LD" >&6; }
4426 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4428 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4433 case `$LD -v 2>&1 </dev/null` in
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4849 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4862 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4868 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5090 case $LD in
5849 LD="${LD-ld} -melf32bsmip"
5852 LD="${LD-ld} -melf32bmipn32"
5855 LD="${LD-ld} -melf64bmip"
5861 LD="${LD-ld} -32"
5864 LD="${LD-ld} -n32"
5867 LD="${LD-ld} -64"
5888 LD="${LD-ld} -m elf_i386_fbsd"
5891 LD="${LD-ld} -m elf_i386"
5894 LD="${LD-ld} -m elf32ppclinux"
5897 LD="${LD-ld} -m elf_s390"
5900 LD="${LD-ld} -m elf32_sparc"
5907 LD="${LD-ld} -m elf_x86_64_fbsd"
5910 LD="${LD-ld} -m elf_x86_64"
5913 LD="${LD-ld} -m elf64ppc"
5916 LD="${LD-ld} -m elf64_s390"
5919 LD="${LD-ld} -m elf64_sparc"
5986 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5988 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5989 LD="${LD-ld} -64"
7100 test -z "$LD" && LD=ld
7593 lt_prog_compiler_wl='-Qoption ld ';;
7600 lt_prog_compiler_wl='-Qoption ld '
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7899 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7965 # If archive_cmds runs LD, not CC, wlarc should be empty
7968 # Set some defaults for GNU ld with shared library support. These
7974 # ancient GNU ld didn't support --whole-archive et. al.
7975 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7981 case `$LD -v 2>&1` in
7989 # See if GNU ld supports shared libraries.
8023 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8042 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8080 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8129 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8134 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8145 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8154 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8166 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8175 case `$LD -v 2>&1` in
8194 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8206 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8229 # PORTME fill in a description of your system's linker (not GNU ld)
8234 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'
8279 # When large executables or shared objects are built, AIX ld can
8496 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8510 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8518 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8536 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'
8552 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8618 # Try to use the -exported_symbol ld option, if it does not
8647 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8649 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8657 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8668 if test -f /usr/libexec/ld.so; then
8680 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8744 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8746 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8781 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8792 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8796 ## LD is ld it makes a PLAMLIB
8798 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8803 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8812 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8819 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8846 # ever link correctly. If we're not using GNU ld we use -z text
8869 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8924 # to ld, don't add -lc before -lgcc.
9192 dynamic_linker="$host_os ld.so"
9272 dynamic_linker="$host_os ld.so"
9285 # the default ld.so.conf also contains /usr/contrib/lib and
9347 dynamic_linker='Win32 ld.exe'
9486 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9511 case $LD in # libtool.m4 will add one of these switches to LD
9544 # Some binutils ld are patched to set DT_RUNPATH
9575 # Append ld.so.conf contents to the search path
9576 if test -f /etc/ld.so.conf; then
9577 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' ' '`
9581 # We used to test for /lib/ld.so.1 and disable shared libraries on
9587 dynamic_linker='GNU/Linux ld.so'
9599 dynamic_linker='NetBSD ld.elf_so'
9609 dynamic_linker='NetBSD (a.out) ld.so'
9613 dynamic_linker='NetBSD ld.elf_so'
9670 dynamic_linker='OS/2 ld.exe'
13706 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13934 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14045 LD \
15141 LD=$lt_LD
15197 # Whether we are building with GNU ld or not.
15210 # If ld is used when linking, flag to hardcode \$libdir into a binary