From 15fff00f6e9a2d35b33cd214fbe7f7b8824dbd16 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 23 Sep 1993 21:53:33 +0000 Subject: * config/solaris2.mh: New file. Define HOSTING_CRT0 and HOSTING_LIBS for testing. --- ld/config/solaris2.mh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 ld/config/solaris2.mh (limited to 'ld/config/solaris2.mh') diff --git a/ld/config/solaris2.mh b/ld/config/solaris2.mh new file mode 100644 index 0000000..831019b --- /dev/null +++ b/ld/config/solaris2.mh @@ -0,0 +1,3 @@ +# Hosting files for Solaris +HOSTING_CRT0=`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crt1.o/'; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crti.o/'; fi` /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtbegin.o/'; fi` +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` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtend.o/'; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtn.o/'; fi` -- cgit v1.1