Home | History | Annotate | Download | only in dist

Lines Matching refs:LD

677 LD
1466 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
4559 # Check whether --with-gnu-ld was given.
4566 ac_prog=ld
4568 # Check if gcc -print-prog-name=ld gives a path.
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4570 $as_echo_n "checking for ld used by $CC... " >&6; }
4574 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4576 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4582 # Canonicalize the pathname of ld
4587 test -z "$LD" && LD=$ac_prog
4591 ac_prog=ld
4594 # If it is relative, then search for the first ld in PATH.
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4600 $as_echo_n "checking for GNU ld... " >&6; }
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4603 $as_echo_n "checking for non-GNU ld... " >&6; }
4608 if test -z "$LD"; then
4615 # Check to see if the program is GNU ld. I'd rather use --version,
4616 # but apparently some variants of GNU ld only accept -v.
4617 # Break only if it was the GNU/non-GNU ld that we prefer.
4630 lt_cv_path_LD=$LD # Let the user override the test with a path.
4634 LD=$lt_cv_path_LD
4635 if test -n "$LD"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4637 $as_echo "$LD" >&6; }
4642 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4644 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4649 case `$LD -v 2>&1 </dev/null` in
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5148 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5161 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5172 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5395 case $LD in
6292 relocations are performed -- see ld's documentation on pseudo-relocs. */
6589 LD="${LD-ld} -melf32bsmip"
6592 LD="${LD-ld} -melf32bmipn32"
6595 LD="${LD-ld} -melf64bmip"
6601 LD="${LD-ld} -32"
6604 LD="${LD-ld} -n32"
6607 LD="${LD-ld} -64"
6646 LD="${LD-ld} -m $emul"
6656 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6669 LD="${LD-ld} -m elf_i386_fbsd"
6674 LD="${LD-ld} -m elf32_x86_64"
6677 LD="${LD-ld} -m elf_i386"
6682 LD="${LD-ld} -m elf32lppclinux"
6685 LD="${LD-ld} -m elf32ppclinux"
6688 LD="${LD-ld} -m elf_s390"
6691 LD="${LD-ld} -m elf32_sparc"
6698 LD="${LD-ld} -m elf_x86_64_fbsd"
6701 LD="${LD-ld} -m elf_x86_64"
6704 LD="${LD-ld} -m elf64lppc"
6707 LD="${LD-ld} -m elf64ppc"
6710 LD="${LD-ld} -m elf64_s390"
6713 LD="${LD-ld} -m elf64_sparc"
6784 LD="${LD-ld} -m elf_x86_64"
6787 LD="${LD-ld} -m elf64_sparc"
6790 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6791 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6792 LD=${LD-ld}_sol2
6796 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6797 LD="${LD-ld} -64"
8173 test -z "$LD" && LD=ld
8676 lt_prog_compiler_wl='-Qoption ld '
8725 lt_prog_compiler_wl='-Qoption ld ';;
8732 lt_prog_compiler_wl='-Qoption ld '
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9040 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9102 # On some targets, GNU ld is compatible enough with the native linker
9108 # The AIX port of GNU ld has always aspired to compatibility
9109 # with the native linker. However, as the warning in the GNU ld
9112 case `$LD -v 2>&1` in
9128 # If archive_cmds runs LD, not CC, wlarc should be empty
9131 # Set some defaults for GNU ld with shared library support. These
9137 # ancient GNU ld didn't support --whole-archive et. al.
9138 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9144 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9153 # See if GNU ld supports shared libraries.
9188 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9209 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9280 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9338 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9343 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9354 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9363 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9375 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9384 case `$LD -v 2>&1` in
9403 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9422 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9438 # PORTME fill in a description of your system's linker (not GNU ld)
9443 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'
9513 # When large executables or shared objects are built, AIX ld can
9837 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9847 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9855 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9873 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9889 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9962 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9993 # Try to use the -exported_symbol ld option, if it does not
10045 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10047 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10055 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 if test -f /usr/libexec/ld.so; then
10154 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10156 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10191 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10202 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10206 ## LD is ld it makes a PLAMLIB
10208 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10213 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10222 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10229 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10256 # ever link correctly. If we're not using GNU ld we use -z text
10279 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10334 # to ld, don't add -lc before -lgcc.
10623 dynamic_linker="$host_os ld.so"
10755 dynamic_linker="$host_os ld.so"
10768 # the default ld.so.conf also contains /usr/contrib/lib and
10814 dynamic_linker='Win32 ld.exe'
10876 dynamic_linker='Win32 ld.exe'
11033 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11058 case $LD in # libtool.m4 will add one of these switches to LD
11112 # Some binutils ld are patched to set DT_RUNPATH
11156 # appending ld.so.conf contents (and includes) to the search path.
11157 if test -f /etc/ld.so.conf; then
11158 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' ' '`
11162 # We used to test for /lib/ld.so.1 and disable shared libraries on
11168 dynamic_linker='GNU/Linux ld.so'
11178 dynamic_linker='NetBSD (a.out) ld.so'
11182 dynamic_linker='NetBSD ld.elf_so'
11235 dynamic_linker='OS/2 ld.exe'
13659 lt_save_LD=$LD
13674 test -z "${LDCXX+set}" || LD=$LDCXX
13697 # Check whether --with-gnu-ld was given.
13704 ac_prog=ld
13706 # Check if gcc -print-prog-name=ld gives a path.
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13708 $as_echo_n "checking for ld used by $CC... " >&6; }
13712 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13714 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13720 # Canonicalize the pathname of ld
13725 test -z "$LD" && LD=$ac_prog
13729 ac_prog=ld
13732 # If it is relative, then search for the first ld in PATH.
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13738 $as_echo_n "checking for GNU ld... " >&6; }
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13741 $as_echo_n "checking for non-GNU ld... " >&6; }
13746 if test -z "$LD"; then
13753 # Check to see if the program is GNU ld. I'd rather use --version,
13754 # but apparently some variants of GNU ld only accept -v.
13755 # Break only if it was the GNU/non-GNU ld that we prefer.
13768 lt_cv_path_LD=$LD # Let the user override the test with a path.
13772 LD=$lt_cv_path_LD
13773 if test -n "$LD"; then
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13775 $as_echo "$LD" >&6; }
13780 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13782 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13787 case `$LD -v 2>&1 </dev/null` in
13806 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13807 # archiving commands below assume that GNU ld is being used.
13815 # If archive_cmds runs LD, not CC, wlarc should be empty
13820 # ancient GNU ld didn't support --whole-archive et. al.
13821 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13833 # linker, instead of GNU ld. If possible, this setting should
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13852 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13907 # When large executables or shared objects are built, AIX ld can
14117 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14190 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14300 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14484 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; func_echo_all "$list"'
14567 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$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; func_echo_all "X$list" | $Xsed'
14570 # IBM XL 8.0 on PPC, with GNU ld
14633 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14648 if test -f /usr/libexec/ld.so; then
14718 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$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; func_echo_all "$list"'
14870 # ever link correctly. If we're not using GNU ld we use -z text
14929 LD_CXX=$LD
15327 lt_prog_compiler_wl_CXX='-Qoption ld '
15382 lt_prog_compiler_wl_CXX='-Qoption ld '
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15687 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15753 # to ld, don't add -lc before -lgcc.
15881 dynamic_linker="$host_os ld.so"
16013 dynamic_linker="$host_os ld.so"
16026 # the default ld.so.conf also contains /usr/contrib/lib and
16071 dynamic_linker='Win32 ld.exe'
16133 dynamic_linker='Win32 ld.exe'
16289 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16314 case $LD in # libtool.m4 will add one of these switches to LD
16368 # Some binutils ld are patched to set DT_RUNPATH
16412 # appending ld.so.conf contents (and includes) to the search path.
16413 if test -f /etc/ld.so.conf; then
16414 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' ' '`
16418 # We used to test for /lib/ld.so.1 and disable shared libraries on
16424 dynamic_linker='GNU/Linux ld.so'
16434 dynamic_linker='NetBSD (a.out) ld.so'
16438 dynamic_linker='NetBSD ld.elf_so'
16491 dynamic_linker='OS/2 ld.exe'
16738 LDCXX=$LD
16739 LD=$lt_save_LD
18334 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18523 LD \
19543 LD=$lt_LD
19603 # Whether we are building with GNU ld or not.
19785 LD=$lt_LD_CXX
19845 # Whether we are building with GNU ld or not.