46 lines
1.5 KiB
C
46 lines
1.5 KiB
C
/* Definitions of target machine for GNU compiler. IRIX version 5.
|
|
Copyright (C) 1993, 1995, 1996, 1998, 2000,
|
|
2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
|
|
|
This file is part of GCC.
|
|
|
|
GCC is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
any later version.
|
|
|
|
GCC is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with GCC; see the file COPYING. If not, write to
|
|
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
|
Boston, MA 02110-1301, USA. */
|
|
|
|
#ifdef IRIX_USING_GNU_LD
|
|
#define IRIX_SUBTARGET_LINK_SPEC "-melf32bsmip"
|
|
#else
|
|
#define IRIX_SUBTARGET_LINK_SPEC "-_SYSTYPE_SVR4"
|
|
#endif
|
|
|
|
#undef STARTFILE_SPEC
|
|
#define STARTFILE_SPEC "\
|
|
%{!static: \
|
|
%{!shared:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}}} \
|
|
%{static: \
|
|
%{pg:gcrt1.o%s} \
|
|
%{!pg:%{p:/usr/lib/nonshared/mcrt1.o%s libprof1.a%s} \
|
|
%{!p:/usr/lib/nonshared/crt1.o%s}}} \
|
|
irix-crti.o%s crtbegin.o%s"
|
|
|
|
#undef LIB_SPEC
|
|
#define LIB_SPEC "%{!shared:%{p:-lprof1} %{pg:-lprof1} -lc}"
|
|
|
|
#undef ENDFILE_SPEC
|
|
#define ENDFILE_SPEC "crtend.o%s irix-crtn.o%s %{!shared:crtn.o%s}"
|
|
|
|
#undef MACHINE_TYPE
|
|
#define MACHINE_TYPE "SGI running IRIX 5.x"
|