Home | History | Annotate | Download | only in dist

Lines Matching refs:LD

785 LD
1592 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
5426 # Check whether --with-gnu-ld was given.
5435 ac_prog=ld
5437 # Check if gcc -print-prog-name=ld gives a path.
5438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5439 printf %s "checking for ld used by $CC... " >&6; }
5443 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5445 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5451 # Canonicalize the pathname of ld
5456 test -z "$LD" && LD=$ac_prog
5460 ac_prog=ld
5463 # If it is relative, then search for the first ld in PATH.
5468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5469 printf %s "checking for GNU ld... " >&6; }
5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5472 printf %s "checking for non-GNU ld... " >&6; }
5478 e) if test -z "$LD"; then
5485 # Check to see if the program is GNU ld. I'd rather use --version,
5486 # but apparently some variants of GNU ld only accept -v.
5487 # Break only if it was the GNU/non-GNU ld that we prefer.
5500 lt_cv_path_LD=$LD # Let the user override the test with a path.
5505 LD=$lt_cv_path_LD
5506 if test -n "$LD"; then
5507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5508 printf "%s\n" "$LD" >&6; }
5513 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5515 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5521 case `$LD -v 2>&1 </dev/null` in
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6038 printf %s "checking for $LD option to reload object files... " >&6; }
6053 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6064 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6349 case $LD in
7316 relocations are performed -- see ld's documentation on pseudo-relocs. */
7628 LD="${LD-ld} -melf32bsmip"
7631 LD="${LD-ld} -melf32bmipn32"
7634 LD="${LD-ld} -melf64bmip"
7640 LD="${LD-ld} -32"
7643 LD="${LD-ld} -n32"
7646 LD="${LD-ld} -64"
7685 LD="${LD-ld} -m $emul"
7695 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7708 LD="${LD-ld} -m elf_i386_fbsd"
7713 LD="${LD-ld} -m elf32_x86_64"
7716 LD="${LD-ld} -m elf_i386"
7721 LD="${LD-ld} -m elf32lppclinux"
7724 LD="${LD-ld} -m elf32ppclinux"
7727 LD="${LD-ld} -m elf_s390"
7730 LD="${LD-ld} -m elf32_sparc"
7737 LD="${LD-ld} -m elf_x86_64_fbsd"
7740 LD="${LD-ld} -m elf_x86_64"
7743 LD="${LD-ld} -m elf64lppc"
7746 LD="${LD-ld} -m elf64ppc"
7749 LD="${LD-ld} -m elf64_s390"
7752 LD="${LD-ld} -m elf64_sparc"
7827 LD="${LD-ld} -m elf_x86_64"
7830 LD="${LD-ld} -m elf64_sparc"
7833 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7834 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7835 LD=${LD-ld}_sol2
7839 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7840 LD="${LD-ld} -64"
9158 test -z "$LD" && LD=ld
9677 lt_prog_compiler_wl='-Qoption ld '
9735 lt_prog_compiler_wl='-Qoption ld ';;
9742 lt_prog_compiler_wl='-Qoption ld '
10059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10060 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10119 # On some targets, GNU ld is compatible enough with the native linker
10125 # The AIX port of GNU ld has always aspired to compatibility
10126 # with the native linker. However, as the warning in the GNU ld
10129 case `$LD -v 2>&1` in
10145 # If archive_cmds runs LD, not CC, wlarc should be empty
10148 # Set some defaults for GNU ld with shared library support. These
10154 # ancient GNU ld didn't support --whole-archive et. al.
10155 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10161 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
10170 # See if GNU ld supports shared libraries.
10205 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10227 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10299 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10358 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10363 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10379 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10388 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10400 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10409 case `$LD -v 2>&1` in
10428 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10440 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10447 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10463 # PORTME fill in a description of your system's linker (not GNU ld)
10468 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'
10538 # When large executables or shared objects are built, AIX ld can
10868 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10878 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10886 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10904 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'
10920 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10995 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11026 # Try to use the -exported_symbol ld option, if it does not
11086 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11088 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11096 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11107 if test -f /usr/libexec/ld.so; then
11199 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11201 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11236 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11247 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11251 ## LD is ld it makes a PLAMLIB
11253 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11258 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11267 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11274 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11301 # ever link correctly. If we're not using GNU ld we use -z text
11324 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11379 # to ld, don't add -lc before -lgcc.
11670 dynamic_linker="$host_os ld.so"
11802 dynamic_linker="$host_os ld.so"
11815 # the default ld.so.conf also contains /usr/contrib/lib and
11875 dynamic_linker='Win32 ld.exe'
11937 dynamic_linker='Win32 ld.exe'
11995 # binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
12103 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12128 LD in # libtool.m4 will add one of these switches to LD
12183 # Some binutils ld are patched to set DT_RUNPATH
12231 # appending ld.so.conf contents (and includes) to the search path.
12232 if test -f /etc/ld.so.conf; then
12233 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' ' '`
12237 # We used to test for /lib/ld.so.1 and disable shared libraries on
12243 dynamic_linker='GNU/Linux ld.so'
12255 dynamic_linker='NetBSD ld.elf_so'
12265 dynamic_linker='NetBSD (a.out) ld.so'
12269 dynamic_linker='NetBSD ld.elf_so'
12282 dynamic_linker='mlibc ld.so'
12334 dynamic_linker='OS/2 ld.exe'
12725 lt_prog_compiler_wl='-Qoption ld '
12783 lt_prog_compiler_wl='-Qoption ld ';;
12790 lt_prog_compiler_wl='-Qoption ld '
22633 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22770 LD \
23920 LD=$lt_LD
23980 # Whether we are building with GNU ld or not.