* config/solaris2.mh: New file. Define HOSTING_CRT0 and

HOSTING_LIBS for testing.
This commit is contained in:
Ian Lance Taylor 1993-09-23 21:53:33 +00:00
parent 67972d5076
commit 15fff00f6e
2 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,7 @@ news.mt
ose68.mt
rtbsd.mh
sa29200.mt
solaris2.mh
sparc64-elf.mt
sparc-ll.mh
st2000.mt

3
ld/config/solaris2.mh Normal file
View File

@ -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`