architecture.config 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. alignbytes='8'
  2. ($owrt:bits eq '32') {
  3. ($owrt:endian eq 'little') {
  4. byteorder='1234'
  5. }
  6. ($owrt:endian eq 'big') {
  7. byteorder='4321'
  8. }
  9. # Types
  10. ivsize='4'
  11. uvsize='4'
  12. longsize='4'
  13. longdblsize='8'
  14. ptrsize='4'
  15. #quadkind='3'
  16. #doublekind='3'
  17. #longdblkind='0'
  18. i8type='signed char'
  19. i16type='signed short'
  20. i32type='signed long'
  21. i64type='signed long long'
  22. u32type='unsigned long'
  23. u64type='unsigned long long'
  24. quadtype='long long'
  25. uquadtype='unsigned long long'
  26. sizesize='4'
  27. use64bitall='undef'
  28. use64bitint='undef'
  29. uidformat='"lu"'
  30. gidformat='"lu"'
  31. selectminbits='32'
  32. sGMTIME_max='2147483647'
  33. sGMTIME_min='-2147483648'
  34. sLOCALTIME_max='2147483647'
  35. sLOCALTIME_min='-2147483648'
  36. sPRIi64='"Li"'
  37. sPRIo64='"Lo"'
  38. sPRIu64='"Lu"'
  39. sPRIx64='"Lx"'
  40. sPRId64='"Ld"'
  41. netdb_host_type='const void *'
  42. nv_preserves_uv_bits='32'
  43. d_nv_preserves_uv='define'
  44. d_printf_format_null='define'
  45. d_u32align='undef'
  46. }
  47. ($owrt:bits eq '64') {
  48. ($owrt:endian eq 'little') {
  49. byteorder='12345678'
  50. }
  51. ($owrt:endian eq 'big') {
  52. byteorder='87654321'
  53. }
  54. # Types
  55. ivsize='8'
  56. uvsize='8'
  57. longsize='8'
  58. longdblsize='16'
  59. ptrsize='8'
  60. quadtype='long'
  61. i16type='signed short'
  62. i32type='signed int'
  63. i64type='signed long'
  64. i8type='signed char'
  65. u32type='unsigned int'
  66. u64type='unsigned long'
  67. uquadtype='unsigned long'
  68. sizesize='8'
  69. uidformat='"u"'
  70. gidformat='"u"'
  71. selectminbits='64'
  72. sGMTIME_max='67768036191676799'
  73. sGMTIME_min='-62167219200'
  74. sLOCALTIME_max='67768036191673199'
  75. sLOCALTIME_min='-62167222408'
  76. sPRIi64='"li"'
  77. sPRIo64='"lo"'
  78. sPRIu64='"lu"'
  79. sPRIx64='"lx"'
  80. sPRId64='"ld"'
  81. netdb_host_type='char *'
  82. nv_preserves_uv_bits='53'
  83. d_nv_preserves_uv='undef'
  84. d_printf_format_null='undef'
  85. d_u32align='define'
  86. use64bitall='define'
  87. use64bitint='define'
  88. }
  89. # Only defined by i486 and x86_64. Provide defaults for all others
  90. (!defined($sPRIEUldbl)) {
  91. sPRIEUldbl='"E"'
  92. sPRIFUldbl='"F"'
  93. sPRIGUldbl='"G"'
  94. sPRIXU64='"LX"'
  95. sPRIeldbl='"e"'
  96. sPRIfldbl='"f"'
  97. sPRIgldbl='"g"'
  98. sSCNfldbl='"f"'
  99. }