1 /* Definitions of target machine for GNU compiler. IRIX version 5.
2 Copyright (C) 1993, 1995, 1996, 1998, 2000,
3 2001, 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
12 GCC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 #ifdef IRIX_USING_GNU_LD
22 #define IRIX_SUBTARGET_LINK_SPEC "-melf32bsmip"
24 #define IRIX_SUBTARGET_LINK_SPEC "-_SYSTYPE_SVR4"
28 #define STARTFILE_SPEC "\
30 %{!shared:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}}} \
33 %{!pg:%{p:/usr/lib/nonshared/mcrt1.o%s libprof1.a%s} \
34 %{!p:/usr/lib/nonshared/crt1.o%s}}} \
35 irix-crti.o%s crtbegin.o%s"
38 #define LIB_SPEC "%{!shared:%{p:-lprof1} %{pg:-lprof1} -lc}"
41 #define ENDFILE_SPEC "crtend.o%s irix-crtn.o%s %{!shared:crtn.o%s}"
44 #define MACHINE_TYPE "SGI running IRIX 5.x"