configure.host revision 60484
133965Sjdp# This is the linker host specific file. This is invoked by the 233965Sjdp# autoconf generated configure script. Putting it in a separate shell 333965Sjdp# file lets us skip running autoconf when modifying host specific 433965Sjdp# information. 533965Sjdp 633965Sjdp# This file sets the following shell variables: 733965Sjdp# HDEFINES host specific compiler flags 833965Sjdp# HOSTING_CRT0 crt0.o file used for bootstrapping 933965Sjdp# HOSTING_LIBS libraries used for bootstrapping 1033965Sjdp# NATIVE_LIB_DIRS library directories to search on this host 1133965Sjdp 1233965SjdpHDEFINES= 1333965SjdpHOSTING_CRT0=/lib/crt0.o 1460484SobrienHOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc' 1533965SjdpNATIVE_LIB_DIRS= 1633965Sjdp 1733965Sjdpcase "${host}" in 1833965Sjdp 1938889Sjdpalpha*-*-linux-gnu*) 2060484Sobrien HOSTING_CRT0='-dynamic-linker `egrep "ld[^ ]*\.so" \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld[^ ]*.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' 2160484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L`dirname \`${CC} --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`' 2238889Sjdp ;; 2338889Sjdp 2438889Sjdpalpha*-*-netbsd*) 2538889Sjdp # The new BSD `make' has a bug: it doesn't pass empty arguments in 2638889Sjdp # shell commands. So we need to make this value non-empty in order 2738889Sjdp # for the genscripts.sh call to work. There's nothing magic about 2838889Sjdp # the value `/lib'; it's just a dummy. 2938889Sjdp NATIVE_LIB_DIRS=/lib 3033965Sjdp HOSTING_CRT0=/usr/lib/crt0.o 3133965Sjdp ;; 3233965Sjdp 3338889Sjdpalpha*-*-*) 3433965Sjdp HOSTING_CRT0=/usr/ccs/lib/crt0.o 3533965Sjdp NATIVE_LIB_DIRS=/usr/ccs/lib 3633965Sjdp ;; 3733965Sjdp 3860484Sobrienarm*-*-linux-gnu*) 3960484Sobrien HOSTING_CRT0='-p -dynamic-linker `fgrep ld-linux.so \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld-linux.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' 4060484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L`dirname \`${CC} --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`' 4160484Sobrien ;; 4260484Sobrien 4360484Sobrieni[3456]86-*-freebsdelf*) 4460484Sobrien # The new BSD `make' has a bug: it doesn't pass empty arguments in 4560484Sobrien # shell commands. So we need to make this value non-empty in order 4660484Sobrien # for the genscripts.sh call to work. There's nothing magic about 4760484Sobrien # the value `/lib'; it's just a dummy. 4860484Sobrien NATIVE_LIB_DIRS=/lib 4960484Sobrien # Older versions of gcc do not use a specs file. In those cases, 5060484Sobrien # gcc -print-file-name=specs will simply print specs. We create a 5160484Sobrien # dummy specs files to handle this. 5260484Sobrien echo "-dynamic-linker /usr/libexec/ld-elf.so.1" > specs 5360484Sobrien HOSTING_CRT0='-dynamic-linker `egrep "ld[^ ]*\.so" \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld[^ ]*.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' 5460484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L`dirname \`${CC} --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`' 5560484Sobrien ;; 5660484Sobrien 5733965Sjdpi[3456]86-*-bsd* | i[3456]86-*-freebsd* | i[3456]86-*-netbsd*) 5833965Sjdp # The new BSD `make' has a bug: it doesn't pass empty arguments in 5933965Sjdp # shell commands. So we need to make this value non-empty in order 6033965Sjdp # for the genscripts.sh call to work. There's nothing magic about 6133965Sjdp # the value `/lib'; it's just a dummy. 6233965Sjdp NATIVE_LIB_DIRS=/lib 6333965Sjdp HOSTING_CRT0=/usr/lib/crt0.o 6433965Sjdp ;; 6533965Sjdp 6633965Sjdpi[3456]86-*-sysv4*) 6760484Sobrien HOSTING_CRT0='/usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} -print-file-name=crtbegin.o; fi`' 6860484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` /usr/ccs/lib/crtn.o' 6933965Sjdp NATIVE_LIB_DIRS=/usr/ccs/lib 7033965Sjdp ;; 7133965Sjdp 7233965Sjdpi[3456]86-sequent-ptx* | i[3456]86-sequent-sysv*) 7360484Sobrien HOSTING_CRT0='/lib/crt0.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} -print-file-name=crtbegin.o; fi`' 7460484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi`' 7533965Sjdp ;; 7633965Sjdp 7733965Sjdpi[3456]86-*-sysv*) 7833965Sjdp HOSTING_CRT0='/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; fi`' 7960484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /lib/crtn.o' 8033965Sjdp ;; 8133965Sjdp 8233965Sjdpi[3456]86-*-solaris*) 8360484Sobrien HOSTING_CRT0='`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else ${CC} -print-file-name=crt1.o; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else ${CC} -print-file-name=crti.o; fi` /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} -print-file-name=crtbegin.o; fi`' 8460484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else ${CC} -print-file-name=crtn.o; fi`' 8533965Sjdp NATIVE_LIB_DIRS=/usr/ccs/lib 8633965Sjdp ;; 8733965Sjdp 8833965Sjdpi[3456]86-*-sco* | i[3456]86-*-isc*) 8933965Sjdp # In some configurations gcc does not use crtbegin.o and crtend.o. 9033965Sjdp # In that case gcc -print-file-name=crtbegin.o will simply print 9133965Sjdp # crtbegin.o. We create dummy crtbegin.o and crtend.o files to 9233965Sjdp # handle this. 9333965Sjdp echo "int dummy_crtbegin () { return 0; }" > crtbegin.c 9433965Sjdp ${CC} -c crtbegin.c -o crtbegin.o 9533965Sjdp rm -f crtbegin.c 9633965Sjdp echo "int dummy_crteng () { return 0; }" > crtend.c 9733965Sjdp ${CC} -c crtend.c -o crtend.o 9833965Sjdp rm -f crtend.c 9960484Sobrien HOSTING_CRT0='/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} -print-file-name=crtbegin.o; fi`' 10060484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` /lib/crtn.o' 10133965Sjdp ;; 10233965Sjdp 10333965Sjdpi[3456]86-*-linux*aout* | i[3456]86-*-linuxoldld) 10433965Sjdp HOSTING_CRT0=/usr/lib/crt0.o 10533965Sjdp ;; 10633965Sjdp 10738889Sjdpi[3456]86-*-linux*libc1*) 10860484Sobrien HOSTING_CRT0='-dynamic-linker /lib/ld-linux.so.1 /usr/lib/crt1.o /usr/lib/crti.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; elif [ -f /usr/lib/crtbegin.o ]; then echo /usr/lib/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' 10960484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; elif [ -f /usr/lib/crtend.o ]; then echo /usr/lib/crtend.o; else ${CC} --print-file-name=crtend.o; fi` /usr/lib/crtn.o' 11033965Sjdp ;; 11133965Sjdp 11238889Sjdpi[3456]86-*-linux-gnu*) 11360484Sobrien HOSTING_CRT0='-dynamic-linker `fgrep ld-linux.so \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld-linux.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' 11460484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L`dirname \`${CC} --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`' 11538889Sjdp ;; 11638889Sjdp 11733965Sjdpi[3456]86-*-lynxos*) 11833965Sjdp HOSTING_CRT0=/lib/init1.o 11960484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc -lm /lib/initn.o' 12033965Sjdp ;; 12133965Sjdp 12260484Sobrieni[3456]86-pc-interix*) 12360484Sobrien HOSTING_CRT0='$$INTERIX_ROOT/usr/lib/crt0.o' 12460484Sobrien NATIVE_LIB_DIRS='$$INTERIX_ROOT/usr/lib/' 12560484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L $$X/local_bin -L $$INTERIX_ROOT/usr/lib -lc -lcpsx -lc -lcpsx $$INTERIX_ROOT/usr/lib/psxdll.a $$INTERIX_ROOT/usr/lib/psxdll2.a' 12660484Sobrien ;; 12760484Sobrien 12833965Sjdpmips*-dec-bsd*) 12933965Sjdp HOSTING_CRT0=/usr/lib/crt0.o 13033965Sjdp ;; 13133965Sjdp 13233965Sjdpmips*-sgi-irix4*) 13333965Sjdp HOSTING_CRT0=/usr/lib/crt1.o 13460484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc /usr/lib/crtn.o' 13533965Sjdp ;; 13633965Sjdp 13760484Sobrienmips*-sgi-irix5*) 13833965Sjdp HOSTING_CRT0=/usr/lib/crt1.o 13960484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc /usr/lib/crtn.o' 14033965Sjdp ;; 14133965Sjdp 14260484Sobrienmips*-sgi-irix6*) 14360484Sobrien HOSTING_CRT0='/usr/lib32/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o ; else ${CC} -print-file-name=crtbegin.o; fi`' 14460484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L/usr/lib32 -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o ; else ${CC} -print-file-name=crtend.o; fi` /usr/lib32/crtn.o -init __do_global_ctors -fini __do_global_dtors' 14560484Sobrien ;; 14660484Sobrien 14760484Sobrienmips*-*-linux-gnu*) 14860484Sobrien HOSTING_CRT0='-dynamic-linker /lib/ld.so.1 /usr/lib/crt1.o /usr/lib/crti.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' 14960484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` /usr/lib/crtn.o' 15060484Sobrien ;; 15160484Sobrien 15233965Sjdpm68*-*-linux*aout*) 15333965Sjdp HOSTING_CRT0=/usr/lib/crt0.o 15433965Sjdp ;; 15533965Sjdp 15638889Sjdpm68*-*-linux*libc1*) 15760484Sobrien HOSTING_CRT0='-dynamic-linker /lib/ld-linux.so.1 /usr/lib/crt1.o /usr/lib/crti.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; elif [ -f /usr/lib/crtbegin.o ]; then echo /usr/lib/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' 15860484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; elif [ -f /usr/lib/crtend.o ]; then echo /usr/lib/crtend.o; else ${CC} --print-file-name=crtend.o; fi` /usr/lib/crtn.o' 15933965Sjdp ;; 16033965Sjdp 16138889Sjdpm68*-*-linux-gnu*) 16260484Sobrien HOSTING_CRT0='-dynamic-linker /lib/ld.so.1 /usr/lib/crt1.o /usr/lib/crti.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' 16360484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` /usr/lib/crtn.o' 16438889Sjdp ;; 16538889Sjdp 16633965Sjdpm68*-*-lynxos*) 16733965Sjdp HOSTING_CRT0=/lib/init1.o 16860484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc -lm /lib/initn.o' 16933965Sjdp ;; 17033965Sjdp 17133965Sjdpm68*-motorola-sysv) 17260484Sobrien HOSTING_CRT0='`if [ -f ../gcc/crt0.o ]; then echo ../gcc/crt0.o; elif [ -f \`${CC} -print-file-name=\`crt0.o ]; then echo \`${CC} -print-file-name=\`crt0.o; else echo /lib/crt0.o; fi`' 17360484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc881 `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi`' 17433965Sjdp ;; 17533965Sjdp 17633965Sjdpm68*-sun-*) 17733965Sjdp HOSTING_CRT0='/usr/lib/crt0.o /usr/lib/Fcrt1.o -L/usr/lib/fsoft.o' 17833965Sjdp ;; 17933965Sjdp 18033965Sjdpm88*-*-dgux*) 18133965Sjdp HDEFINES=-D__using_DGUX 18233965Sjdp HOSTING_CRT0='/lib/crt0.o -X' 18333965Sjdp HOSTING_LIBS=/usr/sde/m88kbcs/lib/libc.a 18433965Sjdp ;; 18533965Sjdp 18633965Sjdpm88*-motorola-sysv3) 18760484Sobrien HOSTING_CRT0='/lib/crt0.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} -print-file-name=crtbegin.o; fi`' 18860484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi`' 18933965Sjdp ;; 19033965Sjdp 19160484Sobrienpowerpc*-*-linux-gnu*) 19260484Sobrien HOSTING_CRT0='-dynamic-linker /lib/ld.so.1 /usr/lib/crt1.o /usr/lib/crti.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' 19360484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` /usr/lib/crtn.o' 19460484Sobrien ;; 19560484Sobrien 19633965Sjdpromp-*-*) 19733965Sjdp HDEFINES=-DNO_VARARGS 19833965Sjdp ;; 19933965Sjdp 20033965Sjdpsparc*-*-solaris2*) 20160484Sobrien HOSTING_CRT0='`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else ${CC} -print-file-name=crt1.o; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else ${CC} -print-file-name=crti.o; fi` /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} -print-file-name=crtbegin.o; fi`' 20260484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else ${CC} -print-file-name=crtn.o; fi`' 20333965Sjdp NATIVE_LIB_DIRS=/usr/ccs/lib 20433965Sjdp ;; 20533965Sjdp 20660484Sobriensparc-*-linux-gnu*) 20760484Sobrien HOSTING_CRT0='-dynamic-linker /lib/ld-linux.so.2 `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' 20860484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L`dirname \`${CC} --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`' 20960484Sobrien ;; 21060484Sobrien 21160484Sobriensparc64-*-linux-gnu*) 21260484Sobrien HOSTING_CRT0='-dynamic-linker /lib64/ld-linux.so.2 `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' 21360484Sobrien HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L`dirname \`${CC} --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`' 21460484Sobrien ;; 21560484Sobrien 21633965Sjdpesac 217