From: Ian Lance Taylor Date: Wed, 11 Aug 1993 19:14:25 +0000 (+0000) Subject: * config/i386v.mh, config/irix4.mh: Use gcc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d62026add2f21475424e759d72f27e7349405c07;p=binutils-gdb.git * config/i386v.mh, config/irix4.mh: Use gcc -print-libgcc-file-name rather than $(libdir)/libgcc.a. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index fa33d75428c..219862bdda4 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,7 @@ Wed Aug 11 08:26:11 1993 Ian Lance Taylor (ian@cygnus.com) + * config/i386v.mh, config/irix4.mh: Use gcc + -print-libgcc-file-name rather than $(libdir)/libgcc.a. * config/i386sco.mh: New file; copy of i386v.mh to correspond to bfd/configure.host change. diff --git a/ld/config/i386v.mh b/ld/config/i386v.mh index 15207fbf520..2646840a455 100644 --- a/ld/config/i386v.mh +++ b/ld/config/i386v.mh @@ -1,4 +1,4 @@ # For testing, we want to use /lib/crt1.o and /lib/crtn.o so that # constructors work properly. HOSTING_CRT0=/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; fi` -HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else echo $(libdir)/libgcc.a; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /lib/crtn.o +HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /lib/crtn.o diff --git a/ld/config/irix4.mh b/ld/config/irix4.mh index 7e778a461ae..0ac5b8c369e 100644 --- a/ld/config/irix4.mh +++ b/ld/config/irix4.mh @@ -1,3 +1,3 @@ # Irix 4.0.1 does not use /lib/crt0.o HOSTING_CRT0=/usr/lib/crt1.o -HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else echo $(libdir)/libgcc.a; fi` -lc /usr/lib/crtn.o +HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc /usr/lib/crtn.o