--- gcc/config/i386/sco.h.orig	Wed Apr  9 11:52:35 1997
+++ gcc/config/i386/sco.h	Wed Apr  9 12:31:07 1997
@@ -42,15 +42,15 @@
 
 #undef STARTFILE_SPEC
 #define STARTFILE_SPEC \
- "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}} crtbegin.o%s"
+ "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt0.o%s}} crtbegin.o%s"
 
-#define ENDFILE_SPEC "crtend.o%s crtn.o%s"
+#define ENDFILE_SPEC ""
 
 /* Library spec, including SCO international language support. */
 
 #undef LIB_SPEC
 #define LIB_SPEC \
- "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} %{scointl:libintl.a%s} -lc"
+ "%{p:-L" TOOLDIR_BASE_PREFIX "i386-sco/lib/libp}%{pg:-L" TOOLDIR_BASE_PREFIX "i386-sco/lib/libp} %{scointl:libintl.a%s} -lc"
 
 /* Specify predefined symbols in preprocessor.  */
 
