%{!mgas: \
%{EB} %{!EB: -EB} \
%{EL: %e-EL not supported} \
- %{bestGnum} \
+ %{bestGnum} %{shared} %{non_shared} \
%{mips1} %{mips2} %{mips3} \
-systype /bsd43/ }"
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-#define DECSTATION
#define DEC_OSF1
#define CPP_PREDEFINES "-D__ANSI_COMPAT \
-DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD -Dbsd4_2 -Dhost_mips -Dmips -Dosf -Dunix"
+#define LINK_SPEC "\
+%{G*} \
+%{!mgas: \
+ %{EL} %{!EL: -EL} \
+ %{EB: %e-EB not supported} \
+ %{mips1} %{mips2} %{mips3} \
+ %{bestGnum} %{shared} %{non_shared}}"
+
#include "decstatn.h"
+
+/* turn off collect2 COFF support, since ldfcn now has elf declaration */
+#undef OBJECT_FORMAT_COFF
#define LINK_SPEC "\
%{G*} \
%{!mgas: %{mips1} %{mips2} %{mips3} \
- %{bestGnum}}"
+ %{bestGnum} %{shared} %{non_shared}}"
/* Always use 1 for .file number. I [meissner@osf.org] wonder why
IRIS needs this. */
%{EB} %{!EB:-EB} \
%{EL: %e-EL not supported} \
%{mips1} %{mips2} %{mips3} \
- %{bestGnum}}"
+ %{bestGnum} %{shared} %{non_shared}}"
#endif /* LINK_SPEC defined */
/* Define this macro meaning that `gcc' should find the library
%{G*} \
%{!mgas: %{mips1} %{mips2} %{mips3} \
%{EB} %{!EB:-EB} %{EL: %e-EL not supported} \
- %{bestGnum}}"
+ %{bestGnum} %{shared} %{non_shared}}"
#define LIB_SPEC "\
%{ZBSD43: -L/usr/ucblib -lucb -lresolv -lsocket -lnsl} \
%{!mgas: \
%{EB} %{!EB:-EB} \
%{EL: %e-EL not supported} \
- %{bestGnum} \
+ %{bestGnum} %{shared} %{non_shared} \
%{mips1} %{mips2} %{mips3} \
-systype /sysv/}"
%{!mgas: \
%{EB} %{!EB:-EB} \
%{EL: %e-EL not supported} \
- %{bestGnum} \
+ %{bestGnum} %{shared} %{non_shared} \
%{mips1} %{mips2} %{mips3} \
-systype /svr4/}"
%{.m: -D__LANGUAGE_OBJECTIVE_C__ -D__LANGUAGE_OBJECTIVE_C} \
%{!.S: -D__LANGUAGE_C__ -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
+#ifndef LINK_SPEC
#define LINK_SPEC "\
%{G*} \
%{!mgas: \
%{EB: %e-EB not supported} \
%{mips1} %{mips2} %{mips3} \
%{bestGnum}}"
+#endif
#define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc"