Config.Irix.pp 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. //
  2. // Config.Irix.pp
  3. //
  4. // This file defines some custom config variables for the SGI/Irix
  5. // platform. It makes some initial guesses about compiler features,
  6. // etc.
  7. //
  8. // What additional flags should we pass to interrogate?
  9. #define SYSTEM_IGATE_FLAGS -D__mips__ -D__MIPSEB__ -D_LANGUAGE_C_PLUS_PLUS -D_MIPS_SZINT=32 -D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32
  10. // Is the platform big-endian (like an SGI workstation) or
  11. // little-endian (like a PC)? Define this to the empty string to
  12. // indicate little-endian, or nonempty to indicate big-endian.
  13. #define WORDS_BIGENDIAN 1
  14. // Does the C++ compiler support namespaces?
  15. #define HAVE_NAMESPACE 1
  16. // How about the typename keyword?
  17. #define HAVE_TYPENAME 1
  18. // Will the compiler avoid inserting extra bytes in structs between a
  19. // base struct and its derived structs? It is safe to define this
  20. // false if you don't know, but if you know that you can get away with
  21. // this you may gain a tiny performance gain by defining this true.
  22. // If you define this true incorrectly, you will get lots of
  23. // assertion failures on execution.
  24. #define SIMPLE_STRUCT_POINTERS
  25. // Do we have a gettimeofday() function?
  26. #define HAVE_GETTIMEOFDAY 1
  27. // Does gettimeofday() take only one parameter?
  28. #define GETTIMEOFDAY_ONE_PARAM
  29. // Do we have getopt() and/or getopt_long_only() built into the
  30. // system?
  31. #define HAVE_GETOPT 1
  32. #define HAVE_GETOPT_LONG_ONLY
  33. // Are the above getopt() functions defined in getopt.h, or somewhere else?
  34. #define HAVE_GETOPT_H 1
  35. // Can we determine the terminal width by making an ioctl(TIOCGWINSZ) call?
  36. #define IOCTL_TERMINAL_WIDTH 1
  37. // Do the system headers define a "streamsize" typedef? How about the
  38. // ios::binary enumerated value? And other ios typedef symbols like
  39. // ios::openmode and ios::fmtflags?
  40. #define HAVE_STREAMSIZE
  41. #define HAVE_IOS_BINARY
  42. #define HAVE_IOS_TYPEDEFS
  43. // Can we safely call getenv() at static init time?
  44. #define STATIC_INIT_GETENV 1
  45. // Can we read the file /proc/self/environ to determine our
  46. // environment variables at static init time?
  47. #define HAVE_PROC_SELF_ENVIRON
  48. // Do we have a global pair of argc/argv variables that we can read at
  49. // static init time? Should we prototype them? What are they called?
  50. #define HAVE_GLOBAL_ARGV 1
  51. #define PROTOTYPE_GLOBAL_ARGV 1
  52. #define GLOBAL_ARGV __Argv
  53. #define GLOBAL_ARGC __Argc
  54. // Can we read the file /proc/self/cmdline to determine our
  55. // command-line arguments at static init time?
  56. #define HAVE_PROC_SELF_CMDLINE
  57. // Should we include <iostream> or <iostream.h>? Define HAVE_IOSTREAM
  58. // to nonempty if we should use <iostream>, or empty if we should use
  59. // <iostream.h>.
  60. #define HAVE_IOSTREAM
  61. // Do we have a true stringstream class defined in <sstream>?
  62. #define HAVE_SSTREAM
  63. // Does fstream::open() require a third parameter, specifying the
  64. // umask?
  65. #define HAVE_OPEN_MASK 1
  66. // Do the compiler or system libraries define wchar_t for you?
  67. #define HAVE_WCHAR_T 1
  68. // Does <string> define the typedef wstring? Most do, but for some
  69. // reason, versions of gcc before 3.0 didn't do this.
  70. #define HAVE_WSTRING 1
  71. // Do we have <new>?
  72. #define HAVE_NEW
  73. // Do we have <io.h>?
  74. #define HAVE_IO_H
  75. // Do we have <malloc.h>?
  76. #define HAVE_MALLOC_H 1
  77. // Do we have <alloca.h>?
  78. #define HAVE_ALLOCA_H 1
  79. // Do we have <locale.h>?
  80. #define HAVE_LOCALE_H 1
  81. // Do we have <minmax.h>?
  82. #define HAVE_MINMAX_H
  83. // Do we have <sys/types.h>?
  84. #define HAVE_SYS_TYPES_H 1
  85. #define HAVE_SYS_TIME_H 1
  86. // Do we have <unistd.h>?
  87. #define HAVE_UNISTD_H 1
  88. // Do we have <utime.h>?
  89. #define HAVE_UTIME_H 1
  90. // Do we have <dirent.h>?
  91. #define HAVE_DIRENT_H 1
  92. // Do we have <sys/soundcard.h> (and presumably a Linux-style audio
  93. // interface)?
  94. #define HAVE_SYS_SOUNDCARD_H
  95. // Do we have RTTI (and <typeinfo>)?
  96. #define HAVE_RTTI 1
  97. // Must global operator new and delete functions throw exceptions?
  98. #define GLOBAL_OPERATOR_NEW_EXCEPTIONS
  99. // What is the syntax of the STL allocator declaration? See
  100. // LocalSetup.pp for allowable values.
  101. #define STL_ALLOCATOR OLD
  102. // The dynamic library file extension (usually .so .dll or .dylib):
  103. #define DYNAMIC_LIB_EXT .so