home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / GnuSource / cplusplus-8 / config / tm-iris.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-03  |  1.8 KB  |  49 lines

  1. /* Definitions of target machine for GNU compiler.  Iris version.
  2.    Copyright (C) 1990 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU CC.
  5.  
  6. GNU CC is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 1, or (at your option)
  9. any later version.
  10.  
  11. GNU CC is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU CC; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Names to predefine in the preprocessor for this target machine.  */
  21.  
  22. #define CPP_PREDEFINES "-Dunix -Dmips -Dsgi -DSVR3 -Dhost_mips -DMIPSEB -DSYSTYPE_SYSV -DLANGUAGE_C"
  23.  
  24. #define STARTFILE_SPEC  \
  25.   "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}"
  26.  
  27. #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} crtn.o%s"
  28.  
  29. #define SGI_TARGET 1        /* inform other mips files this is SGI */
  30.  
  31. /* Always use 1 for .file number.  I [meissner@osf.org] wonder why
  32.    IRIS needs this.  */
  33.  
  34. #define SET_FILE_NUMBER() num_source_filenames = 1
  35.  
  36. /* Put out a label after a .loc.  I [meissner@osf.org] wonder why
  37.    IRIS needs this.  */
  38.  
  39. #define LABEL_AFTER_LOC(STREAM) fprintf (STREAM, "LM%d:\n", ++sym_lineno)
  40.  
  41. #define STACK_ARGS_ADJUST(SIZE)                                         \
  42. {                                                                       \
  43.   SIZE.constant += 4;                                                   \
  44.   if (SIZE.constant < 32)                        \
  45.     SIZE.constant = 32;                                                 \
  46. }
  47.  
  48. #include "tm-mips.h"
  49.