Home | History | Annotate | Download | only in dist

Lines Matching refs:LD

711 LD
1513 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
5566 # Check whether --with-gnu-ld was given.
5575 ac_prog=ld
5577 # Check if gcc -print-prog-name=ld gives a path.
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5579 printf %s "checking for ld used by $CC... " >&6; }
5583 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5585 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5591 # Canonicalize the pathname of ld
5596 test -z "$LD" && LD=$ac_prog
5600 ac_prog=ld
5603 # If it is relative, then search for the first ld in PATH.
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5609 printf %s "checking for GNU ld... " >&6; }
5611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5612 printf %s "checking for non-GNU ld... " >&6; }
5618 e) if test -z "$LD"; then
5625 # Check to see if the program is GNU ld. I'd rather use --version,
5626 # but apparently some variants of GNU ld only accept -v.
5627 # Break only if it was the GNU/non-GNU ld that we prefer.
5640 lt_cv_path_LD=$LD # Let the user override the test with a path.
5645 LD=$lt_cv_path_LD
5646 if test -n "$LD"; then
5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5648 printf "%s\n" "$LD" >&6; }
5653 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5655 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5661 case `$LD -v 2>&1 </dev/null` in
6177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6178 printf %s "checking for $LD option to reload object files... " >&6; }
6193 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6204 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6550 case $LD in
7517 relocations are performed -- see ld's documentation on pseudo-relocs. */
7827 LD="${LD-ld} -melf32bsmip"
7830 LD="${LD-ld} -melf32bmipn32"
7833 LD="${LD-ld} -melf64bmip"
7839 LD="${LD-ld} -32"
7842 LD="${LD-ld} -n32"
7845 LD="${LD-ld} -64"
7884 LD="${LD-ld} -m $emul"
7894 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7907 LD="${LD-ld} -m elf_i386_fbsd"
7912 LD="${LD-ld} -m elf32_x86_64"
7915 LD="${LD-ld} -m elf_i386"
7920 LD="${LD-ld} -m elf32lppclinux"
7923 LD="${LD-ld} -m elf32ppclinux"
7926 LD="${LD-ld} -m elf_s390"
7929 LD="${LD-ld} -m elf32_sparc"
7936 LD="${LD-ld} -m elf_x86_64_fbsd"
7939 LD="${LD-ld} -m elf_x86_64"
7942 LD="${LD-ld} -m elf64lppc"
7945 LD="${LD-ld} -m elf64ppc"
7948 LD="${LD-ld} -m elf64_s390"
7951 LD="${LD-ld} -m elf64_sparc"
8026 LD="${LD-ld} -m elf_x86_64"
8029 LD="${LD-ld} -m elf64_sparc"
8032 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8033 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8034 LD=${LD-ld}_sol2
8038 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8039 LD="${LD-ld} -64"
9232 test -z "$LD" && LD=ld
9745 lt_prog_compiler_wl='-Qoption ld '
9794 lt_prog_compiler_wl='-Qoption ld ';;
9801 lt_prog_compiler_wl='-Qoption ld '
10118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10119 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10181 # On some targets, GNU ld is compatible enough with the native linker
10187 # The AIX port of GNU ld has always aspired to compatibility
10188 # with the native linker. However, as the warning in the GNU ld
10191 case `$LD -v 2>&1` in
10207 # If archive_cmds runs LD, not CC, wlarc should be empty
10210 # Set some defaults for GNU ld with shared library support. These
10216 # ancient GNU ld didn't support --whole-archive et. al.
10217 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10223 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
10232 # See if GNU ld supports shared libraries.
10267 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10288 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10360 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10418 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10423 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10434 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10443 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10455 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10464 case `$LD -v 2>&1` in
10483 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10495 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10502 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10518 # PORTME fill in a description of your system's linker (not GNU ld)
10523 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'
10593 # When large executables or shared objects are built, AIX ld can
10923 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10933 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10941 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10959 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'
10975 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11050 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11081 # Try to use the -exported_symbol ld option, if it does not
11137 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11139 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11147 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11158 if test -f /usr/libexec/ld.so; then
11247 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11249 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11284 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11295 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11299 ## LD is ld it makes a PLAMLIB
11301 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11306 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11315 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11322 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11349 # ever link correctly. If we're not using GNU ld we use -z text
11372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11427 # to ld, don't add -lc before -lgcc.
11718 dynamic_linker="$host_os ld.so"
11850 dynamic_linker="$host_os ld.so"
11863 # the default ld.so.conf also contains /usr/contrib/lib and
11909 dynamic_linker='Win32 ld.exe'
11971 dynamic_linker='Win32 ld.exe'
12115 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12140 case $LD in # libtool.m4 will add one of these switches to LD
12194 # Some binutils ld are patched to set DT_RUNPATH
12242 # appending ld.so.conf contents (and includes) to the search path.
12243 if test -f /etc/ld.so.conf; then
12244 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' ' '`
12248 # We used to test for /lib/ld.so.1 and disable shared libraries on
12254 dynamic_linker='GNU/Linux ld.so'
12264 dynamic_linker='NetBSD (a.out) ld.so'
12268 dynamic_linker='NetBSD ld.elf_so'
12321 dynamic_linker='OS/2 ld.exe'
21633 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21770 LD \
22921 LD=$lt_LD
22981 # Whether we are building with GNU ld or not.