Home | History | Annotate | Download | only in dist

Lines Matching refs:LD

719 LD
1554 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
5926 # Check whether --with-gnu-ld was given.
5933 ac_prog=ld
5935 # Check if gcc -print-prog-name=ld gives a path.
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5937 $as_echo_n "checking for ld used by $CC... " >&6; }
5941 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5943 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5949 # Canonicalize the pathname of ld
5954 test -z "$LD" && LD=$ac_prog
5958 ac_prog=ld
5961 # If it is relative, then search for the first ld in PATH.
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5967 $as_echo_n "checking for GNU ld... " >&6; }
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5970 $as_echo_n "checking for non-GNU ld... " >&6; }
5975 if test -z "$LD"; then
5982 # Check to see if the program is GNU ld. I'd rather use --version,
5983 # but apparently some variants of GNU ld only accept -v.
5984 # Break only if it was the GNU/non-GNU ld that we prefer.
5997 lt_cv_path_LD=$LD # Let the user override the test with a path.
6001 LD=$lt_cv_path_LD
6002 if test -n "$LD"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6004 $as_echo "$LD" >&6; }
6009 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6011 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6016 case `$LD -v 2>&1 </dev/null` in
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6510 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6523 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6534 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6757 case $LD in
7654 relocations are performed -- see ld's documentation on pseudo-relocs. */
7951 LD="${LD-ld} -melf32bsmip"
7954 LD="${LD-ld} -melf32bmipn32"
7957 LD="${LD-ld} -melf64bmip"
7963 LD="${LD-ld} -32"
7966 LD="${LD-ld} -n32"
7969 LD="${LD-ld} -64"
8008 LD="${LD-ld} -m $emul"
8018 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8031 LD="${LD-ld} -m elf_i386_fbsd"
8036 LD="${LD-ld} -m elf32_x86_64"
8039 LD="${LD-ld} -m elf_i386"
8044 LD="${LD-ld} -m elf32lppclinux"
8047 LD="${LD-ld} -m elf32ppclinux"
8050 LD="${LD-ld} -m elf_s390"
8053 LD="${LD-ld} -m elf32_sparc"
8060 LD="${LD-ld} -m elf_x86_64_fbsd"
8063 LD="${LD-ld} -m elf_x86_64"
8066 LD="${LD-ld} -m elf64lppc"
8069 LD="${LD-ld} -m elf64ppc"
8072 LD="${LD-ld} -m elf64_s390"
8075 LD="${LD-ld} -m elf64_sparc"
8146 LD="${LD-ld} -m elf_x86_64"
8149 LD="${LD-ld} -m elf64_sparc"
8152 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8153 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8154 LD=${LD-ld}_sol2
8158 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8159 LD="${LD-ld} -64"
9409 test -z "$LD" && LD=ld
9916 lt_prog_compiler_wl='-Qoption ld '
9965 lt_prog_compiler_wl='-Qoption ld ';;
9972 lt_prog_compiler_wl='-Qoption ld '
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10280 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10345 # On some targets, GNU ld is compatible enough with the native linker
10351 # The AIX port of GNU ld has always aspired to compatibility
10352 # with the native linker. However, as the warning in the GNU ld
10355 case `$LD -v 2>&1` in
10371 # If archive_cmds runs LD, not CC, wlarc should be empty
10374 # Set some defaults for GNU ld with shared library support. These
10380 # ancient GNU ld didn't support --whole-archive et. al.
10381 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10387 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10396 # See if GNU ld supports shared libraries.
10431 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10452 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10523 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10581 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10586 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10597 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10606 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10618 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10627 case `$LD -v 2>&1` in
10646 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10658 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10665 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10681 # PORTME fill in a description of your system's linker (not GNU ld)
10686 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'
10756 # When large executables or shared objects are built, AIX ld can
11080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11090 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11098 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11116 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'
11132 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11205 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11236 # Try to use the -exported_symbol ld option, if it does not
11289 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11291 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11299 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11310 if test -f /usr/libexec/ld.so; then
11398 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11400 $LD
11435 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11446 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11450 ## LD is ld it makes a PLAMLIB
11452 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11457 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11466 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11473 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11500 # ever link correctly. If we're not using GNU ld we use -z text
11523 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11578 # to ld, don't add -lc before -lgcc.
11867 dynamic_linker="$host_os ld.so"
11999 dynamic_linker="$host_os ld.so"
12012 # the default ld.so.conf also contains /usr/contrib/lib and
12058 dynamic_linker='Win32 ld.exe'
12120 dynamic_linker='Win32 ld.exe'
12264 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12289 case $LD in # libtool.m4 will add one of these switches to LD
12343 # Some binutils ld are patched to set DT_RUNPATH
12387 # appending ld.so.conf contents (and includes) to the search path.
12388 if test -f /etc/ld.so.conf; then
12389 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' ' '`
12393 # We used to test for /lib/ld.so.1 and disable shared libraries on
12399 dynamic_linker='GNU/Linux ld.so'
12411 dynamic_linker='NetBSD ld.elf_so'
12421 dynamic_linker='NetBSD (a.out) ld.so'
12425 dynamic_linker='NetBSD ld.elf_so'
12478 dynamic_linker='OS/2 ld.exe'
13621 lt_save_LD=$LD
13636 test -z "${LDCXX+set}" || LD=$LDCXX
13659 # Check whether --with-gnu-ld was given.
13666 ac_prog=ld
13668 # Check if gcc -print-prog-name=ld gives a path.
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13670 $as_echo_n "checking for ld used by $CC... " >&6; }
13674 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13676 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13682 # Canonicalize the pathname of ld
13687 test -z "$LD" && LD=$ac_prog
13691 ac_prog=ld
13694 # If it is relative, then search for the first ld in PATH.
13699 ld" >&5
13700 $as_echo_n "checking for GNU ld... " >&6; }
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13703 $as_echo_n "checking for non-GNU ld... " >&6; }
13708 if test -z "$LD"; then
13715 # Check to see if the program is GNU ld. I'd rather use --version,
13716 # but apparently some variants of GNU ld only accept -v.
13717 # Break only if it was the GNU/non-GNU ld that we prefer.
13730 lt_cv_path_LD=$LD # Let the user override the test with a path.
13734 LD=$lt_cv_path_LD
13735 if test -n "$LD"; then
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13737 $as_echo "$LD" >&6; }
13742 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13744 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13749 case `$LD -v 2>&1 </dev/null` in
13768 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13769 # archiving commands below assume that GNU ld is being used.
13777 # If archive_cmds runs LD, not CC, wlarc should be empty
13782 # ancient GNU ld didn't support --whole-archive et. al.
13783 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13795 # linker, instead of GNU ld. If possible, this setting should
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13814 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13869 # When large executables or shared objects are built, AIX ld can
14079 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14152 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14262 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14446 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld
14529 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'
14532 # IBM XL 8.0 on PPC, with GNU ld
14595 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14610 if test -f /usr/libexec/ld.so; then
14680 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"'
14832 # ever link correctly. If we're not using GNU ld we use -z text
14891 LD_CXX=$LD
15289 lt_prog_compiler_wl_CXX='-Qoption ld '
15344 lt_prog_compiler_wl_CXX='-Qoption ld '
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15649 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15718 # to ld, don't add -lc before -lgcc.
15846 dynamic_linker="$host_os ld.so"
15978 dynamic_linker="$host_os ld.so"
15991 # the default ld.so.conf also contains /usr/contrib/lib and
16036 dynamic_linker='Win32 ld.exe'
16098 dynamic_linker='Win32 ld.exe'
16241 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16266 case $LD in # libtool.m4 will add one of these switches to LD
16320 # Some binutils ld are patched to set DT_RUNPATH
16364 # appending ld.so.conf contents (and includes) to the search path.
16365 if test -f /etc/ld.so.conf; then
16366 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' ' '`
16370 # We used to test for /lib/ld.so.1 and disable shared libraries on
16376 dynamic_linker='GNU/Linux ld.so'
16388 dynamic_linker='NetBSD ld.elf_so'
16398 dynamic_linker='NetBSD (a.out) ld.so'
16402 dynamic_linker='NetBSD ld.elf_so'
16455 dynamic_linker='OS/2 ld.exe'
16702 LDCXX=$LD
16703 LD=$lt_save_LD
19300 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19489 LD \
20534 LD=$lt_LD
20594 # Whether we are building with GNU ld or not.
20776 LD=$lt_LD_CXX
20836 # Whether we are building with GNU ld or not.