Lines Matching refs:LD
764 LD
1614 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1617 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2296 fprintf (f, "%ld", i);
6602 # Check whether --with-gnu-ld was given.
6610 ac_prog=ld
6612 # Check if gcc -print-prog-name=ld gives a path.
6613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6614 printf %s "checking for ld used by $CC... " >&6; }
6618 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6620 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6626 # Canonicalize the pathname of ld
6631 test -z "$LD" && LD=$ac_prog
6635 ac_prog=ld
6638 # If it is relative, then search for the first ld in PATH.
6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6644 printf %s "checking for GNU ld... " >&6; }
6646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6647 printf %s "checking for non-GNU ld... " >&6; }
6653 if test -z "$LD"; then
6660 # Check to see if the program is GNU ld. I'd rather use --version,
6661 # but apparently some variants of GNU ld only accept -v.
6662 # Break only if it was the GNU/non-GNU ld that we prefer.
6675 lt_cv_path_LD=$LD # Let the user override the test with a path.
6679 LD=$lt_cv_path_LD
6680 if test -n "$LD"; then
6681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6682 printf "%s\n" "$LD" >&6; }
6687 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6689 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
6695 case `$LD -v 2>&1 </dev/null` in
7192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7193 printf %s "checking for $LD option to reload object files... " >&6; }
7207 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7218 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7557 case $LD in
8510 relocations are performed -- see ld's documentation on pseudo-relocs. */
8816 LD="${LD-ld} -melf32bsmip"
8819 LD="${LD-ld} -melf32bmipn32"
8822 LD="${LD-ld} -melf64bmip"
8828 LD="${LD-ld} -32"
8831 LD="${LD-ld} -n32"
8834 LD="${LD-ld} -64"
8873 LD="${LD-ld} -m $emul"
8883 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8896 LD="${LD-ld} -m elf_i386_fbsd"
8901 LD="${LD-ld} -m elf32_x86_64"
8904 LD="${LD-ld} -m elf_i386"
8909 LD="${LD-ld} -m elf32lppclinux"
8912 LD="${LD-ld} -m elf32ppclinux"
8915 LD="${LD-ld} -m elf_s390"
8918 LD="${LD-ld} -m elf32_sparc"
8925 LD="${LD-ld} -m elf_x86_64_fbsd"
8928 LD="${LD-ld} -m elf_x86_64"
8931 LD="${LD-ld} -m elf64lppc"
8934 LD="${LD-ld} -m elf64ppc"
8937 LD="${LD-ld} -m elf64_s390"
8940 LD="${LD-ld} -m elf64_sparc"
9013 LD="${LD-ld} -m elf_x86_64"
9016 LD="${LD-ld} -m elf64_sparc"
9019 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9020 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9021 LD=${LD-ld}_sol2
9025 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9026 LD="${LD-ld} -64"
10522 test -z "$LD" && LD=ld
11032 lt_prog_compiler_wl='-Qoption ld '
11081 lt_prog_compiler_wl='-Qoption ld ';;
11088 lt_prog_compiler_wl='-Qoption ld '
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11401 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11463 # On some targets, GNU ld is compatible enough with the native linker
11469 # The AIX port of GNU ld has always aspired to compatibility
11470 # with the native linker. However, as the warning in the GNU ld
11473 case `$LD -v 2>&1` in
11489 # If archive_cmds runs LD, not CC, wlarc should be empty
11492 # Set some defaults for GNU ld with shared library support. These
11498 # ancient GNU ld didn't support --whole-archive et. al.
11499 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11505 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11514 # See if GNU ld supports shared libraries.
11549 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11570 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11642 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11700 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11705 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11716 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11725 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11737 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11746 case `$LD -v 2>&1` in
11765 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11777 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11784 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11800 # PORTME fill in a description of your system's linker (not GNU ld)
11805 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'
11875 # When large executables or shared objects are built, AIX ld can
12203 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12213 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12221 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12239 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'
12255 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12329 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12360 # Try to use the -exported_symbol ld option, if it does not
12414 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12416 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12424 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12435 if test -f /usr/libexec/ld.so; then
12524 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12526 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12561 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12572 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12576 ## LD is ld it makes a PLAMLIB
12578 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12583 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12592 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12599 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12626 # ever link correctly. If we're not using GNU ld we use -z text
12649 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12704 # to ld, don't add -lc before -lgcc.
12994 dynamic_linker="$host_os ld.so"
13126 dynamic_linker="$host_os ld.so"
13139 # the default ld.so.conf also contains /usr/contrib/lib and
13185 dynamic_linker='Win32 ld.exe'
13247 dynamic_linker='Win32 ld.exe'
13391 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13416 case $LD in # libtool.m4 will add one of these switches to LD
13470 # Some binutils ld are patched to set DT_RUNPATH
13520 # appending ld.so.conf contents (and includes) to the search path.
13521 if test -f /etc/ld.so.conf; then
13522 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' ' '`
13526 # We used to test for /lib/ld.so.1 and disable shared libraries on
13532 dynamic_linker='GNU/Linux ld.so'
13542 dynamic_linker='NetBSD (a.out) ld.so'
13546 dynamic_linker='NetBSD ld.elf_so'
13599 dynamic_linker='OS/2 ld.exe'
14933 # Check whether --with-gnu-ld was given.
14954 ac_prog=ld
14956 # Check if gcc -print-prog-name=ld gives a path.
14957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14958 printf %s "checking for ld used by $CC... " >&6; }
14962 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14964 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14970 # Canonicalize the pathname of ld
14975 test -z "$LD" && LD="$ac_prog"
14979 ac_prog=ld
14982 # If it is relative, then search for the first ld in PATH.
14987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14988 printf %s "checking for GNU ld... " >&6; }
14990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14991 printf %s "checking for non-GNU ld... " >&6; }
14997 if test -z "$LD"; then
15004 # Check to see if the program is GNU ld. I'd rather use --version,
15005 # but apparently some variants of GNU ld only accept -v.
15006 # Break only if it was the GNU/non-GNU ld that we prefer.
15019 acl_cv_path_LD="$LD" # Let the user override the test with a path.
15023 LD="$acl_cv_path_LD"
15024 if test -n "$LD"; then
15025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15026 printf "%s\n" "$LD" >&6; }
15031 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15033 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
15039 case `$LD -v 2>&1 </dev/null` in
15063 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
21518 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21656 LD \
22854 LD=$lt_LD
22914 # Whether we are building with GNU ld or not.