gccxml_gem 0.9.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (274) hide show
  1. data/Rakefile +84 -0
  2. data/bin/gccxml.exe +0 -0
  3. data/bin/gccxml_cc1plus.exe +0 -0
  4. data/bin/gccxml_vcconfig.bat +52 -0
  5. data/bin/gccxml_vcconfig.exe +0 -0
  6. data/gccxml.rb +57 -0
  7. data/share/doc/gccxml-0.9/Copyright.txt +55 -0
  8. data/share/doc/gccxml-0.9/gccxml.html +168 -0
  9. data/share/doc/gccxml-0.9/gccxml.txt +293 -0
  10. data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm +7 -0
  11. data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm.h +7 -0
  12. data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset +7 -0
  13. data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset.h +7 -0
  14. data/share/gccxml-0.9/Borland/5.5/Wrappers/cctype +1 -0
  15. data/share/gccxml-0.9/Borland/5.5/Wrappers/cfloat +1 -0
  16. data/share/gccxml-0.9/Borland/5.5/Wrappers/climits +1 -0
  17. data/share/gccxml-0.9/Borland/5.5/Wrappers/cmath +1 -0
  18. data/share/gccxml-0.9/Borland/5.5/Wrappers/complex +7 -0
  19. data/share/gccxml-0.9/Borland/5.5/Wrappers/complex.h +7 -0
  20. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstddef +1 -0
  21. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdio +1 -0
  22. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdlib +1 -0
  23. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring +7 -0
  24. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring.h +7 -0
  25. data/share/gccxml-0.9/Borland/5.5/Wrappers/ctime +1 -0
  26. data/share/gccxml-0.9/Borland/5.5/Wrappers/cwchar +1 -0
  27. data/share/gccxml-0.9/Borland/5.5/Wrappers/cwctype +1 -0
  28. data/share/gccxml-0.9/Borland/5.5/Wrappers/deque +7 -0
  29. data/share/gccxml-0.9/Borland/5.5/Wrappers/deque.h +7 -0
  30. data/share/gccxml-0.9/Borland/5.5/Wrappers/exception +7 -0
  31. data/share/gccxml-0.9/Borland/5.5/Wrappers/exception.h +7 -0
  32. data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream +7 -0
  33. data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream.h +7 -0
  34. data/share/gccxml-0.9/Borland/5.5/Wrappers/function +7 -0
  35. data/share/gccxml-0.9/Borland/5.5/Wrappers/function.h +7 -0
  36. data/share/gccxml-0.9/Borland/5.5/Wrappers/functional +7 -0
  37. data/share/gccxml-0.9/Borland/5.5/Wrappers/gccxml_typeinfo.h +146 -0
  38. data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip +7 -0
  39. data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip.h +7 -0
  40. data/share/gccxml-0.9/Borland/5.5/Wrappers/ios +7 -0
  41. data/share/gccxml-0.9/Borland/5.5/Wrappers/ios.h +7 -0
  42. data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd +7 -0
  43. data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd.h +7 -0
  44. data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream +7 -0
  45. data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream.h +7 -0
  46. data/share/gccxml-0.9/Borland/5.5/Wrappers/istream +7 -0
  47. data/share/gccxml-0.9/Borland/5.5/Wrappers/istream.h +7 -0
  48. data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator +7 -0
  49. data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator.h +7 -0
  50. data/share/gccxml-0.9/Borland/5.5/Wrappers/limits +7 -0
  51. data/share/gccxml-0.9/Borland/5.5/Wrappers/limits.h +7 -0
  52. data/share/gccxml-0.9/Borland/5.5/Wrappers/list +7 -0
  53. data/share/gccxml-0.9/Borland/5.5/Wrappers/list.h +7 -0
  54. data/share/gccxml-0.9/Borland/5.5/Wrappers/locale +7 -0
  55. data/share/gccxml-0.9/Borland/5.5/Wrappers/locale.h +7 -0
  56. data/share/gccxml-0.9/Borland/5.5/Wrappers/map +7 -0
  57. data/share/gccxml-0.9/Borland/5.5/Wrappers/map.h +7 -0
  58. data/share/gccxml-0.9/Borland/5.5/Wrappers/memory +7 -0
  59. data/share/gccxml-0.9/Borland/5.5/Wrappers/memory.h +7 -0
  60. data/share/gccxml-0.9/Borland/5.5/Wrappers/new +7 -0
  61. data/share/gccxml-0.9/Borland/5.5/Wrappers/new.h +7 -0
  62. data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric +7 -0
  63. data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric.h +7 -0
  64. data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream +7 -0
  65. data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream.h +7 -0
  66. data/share/gccxml-0.9/Borland/5.5/Wrappers/queue +7 -0
  67. data/share/gccxml-0.9/Borland/5.5/Wrappers/queue.h +7 -0
  68. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/codecvt +1 -0
  69. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/collate +1 -0
  70. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/ctype +1 -0
  71. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iosbase +1 -0
  72. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iotraits +1 -0
  73. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iterator +1 -0
  74. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/lochelp +1 -0
  75. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locimpl +1 -0
  76. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locvector +1 -0
  77. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/messages +1 -0
  78. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/money +1 -0
  79. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numbrw +1 -0
  80. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numeral +1 -0
  81. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwdispatch.h +1 -0
  82. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwlocale +1 -0
  83. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwstderr_macros.h +64 -0
  84. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/string_ref +1 -0
  85. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/time +1 -0
  86. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/traits +1 -0
  87. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/tree +1 -0
  88. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/usefacet +1 -0
  89. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/valimp +1 -0
  90. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/vendor +1 -0
  91. data/share/gccxml-0.9/Borland/5.5/Wrappers/set +7 -0
  92. data/share/gccxml-0.9/Borland/5.5/Wrappers/set.h +7 -0
  93. data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream +7 -0
  94. data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream.h +7 -0
  95. data/share/gccxml-0.9/Borland/5.5/Wrappers/stack +7 -0
  96. data/share/gccxml-0.9/Borland/5.5/Wrappers/stack.h +7 -0
  97. data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept +7 -0
  98. data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept.h +7 -0
  99. data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf +7 -0
  100. data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf.h +7 -0
  101. data/share/gccxml-0.9/Borland/5.5/Wrappers/string +7 -0
  102. data/share/gccxml-0.9/Borland/5.5/Wrappers/string.h +7 -0
  103. data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream +7 -0
  104. data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream.h +7 -0
  105. data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo +7 -0
  106. data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo.h +7 -0
  107. data/share/gccxml-0.9/Borland/5.5/Wrappers/utility +7 -0
  108. data/share/gccxml-0.9/Borland/5.5/Wrappers/utility.h +7 -0
  109. data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray +7 -0
  110. data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray.h +7 -0
  111. data/share/gccxml-0.9/Borland/5.5/Wrappers/vector +7 -0
  112. data/share/gccxml-0.9/Borland/5.5/Wrappers/vector.h +7 -0
  113. data/share/gccxml-0.9/Borland/5.5/except.h +154 -0
  114. data/share/gccxml-0.9/Borland/5.5/gccxml_fstream.h +431 -0
  115. data/share/gccxml-0.9/Borland/5.5/gccxml_new.h +166 -0
  116. data/share/gccxml-0.9/Borland/5.5/gccxml_valarray.h +786 -0
  117. data/share/gccxml-0.9/Borland/5.5/gccxml_vector.h +1457 -0
  118. data/share/gccxml-0.9/Borland/5.5/io.h +352 -0
  119. data/share/gccxml-0.9/Borland/5.5/oaidl.h +7006 -0
  120. data/share/gccxml-0.9/Borland/5.5/propidl.h +1477 -0
  121. data/share/gccxml-0.9/Borland/5.5/rw/locimpl.h +477 -0
  122. data/share/gccxml-0.9/Borland/5.5/rw/rwlocale.h +619 -0
  123. data/share/gccxml-0.9/Borland/5.5/stdarg.h +55 -0
  124. data/share/gccxml-0.9/Borland/5.5/valarray.cc +2883 -0
  125. data/share/gccxml-0.9/GCC/2.95/algorithm +76 -0
  126. data/share/gccxml-0.9/GCC/2.95/bitset +17 -0
  127. data/share/gccxml-0.9/GCC/2.95/cctype +24 -0
  128. data/share/gccxml-0.9/GCC/2.95/clocale +14 -0
  129. data/share/gccxml-0.9/GCC/2.95/cmath +33 -0
  130. data/share/gccxml-0.9/GCC/2.95/complex +38 -0
  131. data/share/gccxml-0.9/GCC/2.95/csetjmp +13 -0
  132. data/share/gccxml-0.9/GCC/2.95/csignal +14 -0
  133. data/share/gccxml-0.9/GCC/2.95/cstdarg +12 -0
  134. data/share/gccxml-0.9/GCC/2.95/cstddef +13 -0
  135. data/share/gccxml-0.9/GCC/2.95/cstdio +55 -0
  136. data/share/gccxml-0.9/GCC/2.95/cstdlib +66 -0
  137. data/share/gccxml-0.9/GCC/2.95/cstring +34 -0
  138. data/share/gccxml-0.9/GCC/2.95/ctime +24 -0
  139. data/share/gccxml-0.9/GCC/2.95/cwchar +65 -0
  140. data/share/gccxml-0.9/GCC/2.95/cwctype +31 -0
  141. data/share/gccxml-0.9/GCC/2.95/deque +19 -0
  142. data/share/gccxml-0.9/GCC/2.95/exception +20 -0
  143. data/share/gccxml-0.9/GCC/2.95/fstream +23 -0
  144. data/share/gccxml-0.9/GCC/2.95/functional +64 -0
  145. data/share/gccxml-0.9/GCC/2.95/gccxml_bitset +1066 -0
  146. data/share/gccxml-0.9/GCC/2.95/iomanip +20 -0
  147. data/share/gccxml-0.9/GCC/2.95/iosfwd +20 -0
  148. data/share/gccxml-0.9/GCC/2.95/iostream +27 -0
  149. data/share/gccxml-0.9/GCC/2.95/iterator +39 -0
  150. data/share/gccxml-0.9/GCC/2.95/list +19 -0
  151. data/share/gccxml-0.9/GCC/2.95/map +20 -0
  152. data/share/gccxml-0.9/GCC/2.95/memory +21 -0
  153. data/share/gccxml-0.9/GCC/2.95/new +13 -0
  154. data/share/gccxml-0.9/GCC/2.95/numeric +15 -0
  155. data/share/gccxml-0.9/GCC/2.95/pthread.h +16 -0
  156. data/share/gccxml-0.9/GCC/2.95/queue +20 -0
  157. data/share/gccxml-0.9/GCC/2.95/set +20 -0
  158. data/share/gccxml-0.9/GCC/2.95/sstream +24 -0
  159. data/share/gccxml-0.9/GCC/2.95/stack +19 -0
  160. data/share/gccxml-0.9/GCC/2.95/std/bastring.cc +524 -0
  161. data/share/gccxml-0.9/GCC/2.95/std/complext.h +397 -0
  162. data/share/gccxml-0.9/GCC/2.95/std/dcomplex.h +92 -0
  163. data/share/gccxml-0.9/GCC/2.95/std/fcomplex.h +88 -0
  164. data/share/gccxml-0.9/GCC/2.95/std/gslice_array.h +170 -0
  165. data/share/gccxml-0.9/GCC/2.95/std/indirect_array.h +157 -0
  166. data/share/gccxml-0.9/GCC/2.95/std/ldcomplex.h +96 -0
  167. data/share/gccxml-0.9/GCC/2.95/std/mask_array.h +154 -0
  168. data/share/gccxml-0.9/GCC/2.95/std/slice_array.h +156 -0
  169. data/share/gccxml-0.9/GCC/2.95/std/std_valarray.h +728 -0
  170. data/share/gccxml-0.9/GCC/2.95/std/straits.h +162 -0
  171. data/share/gccxml-0.9/GCC/2.95/std/valarray_meta.h +1035 -0
  172. data/share/gccxml-0.9/GCC/2.95/stdexcept +17 -0
  173. data/share/gccxml-0.9/GCC/2.95/stl_alloc.h +1057 -0
  174. data/share/gccxml-0.9/GCC/2.95/stl_bvector.h +836 -0
  175. data/share/gccxml-0.9/GCC/2.95/stl_deque.h +1699 -0
  176. data/share/gccxml-0.9/GCC/2.95/stl_list.h +843 -0
  177. data/share/gccxml-0.9/GCC/2.95/stl_tree.h +1331 -0
  178. data/share/gccxml-0.9/GCC/2.95/stl_vector.h +828 -0
  179. data/share/gccxml-0.9/GCC/2.95/string +26 -0
  180. data/share/gccxml-0.9/GCC/2.95/strstream +23 -0
  181. data/share/gccxml-0.9/GCC/2.95/typeinfo +11 -0
  182. data/share/gccxml-0.9/GCC/2.95/utility +25 -0
  183. data/share/gccxml-0.9/GCC/2.95/valarray +52 -0
  184. data/share/gccxml-0.9/GCC/2.95/vector +19 -0
  185. data/share/gccxml-0.9/GCC/2.96/sstream +305 -0
  186. data/share/gccxml-0.9/GCC/3.0/pthread.h +16 -0
  187. data/share/gccxml-0.9/GCC/3.1/pthread.h +16 -0
  188. data/share/gccxml-0.9/GCC/3.2/bits/fstream.tcc +500 -0
  189. data/share/gccxml-0.9/GCC/3.2/bits/gthr-default.h +581 -0
  190. data/share/gccxml-0.9/GCC/3.2/bits/istream.tcc +1207 -0
  191. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.h +1810 -0
  192. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc +2397 -0
  193. data/share/gccxml-0.9/GCC/3.2/bits/messages_members.h +108 -0
  194. data/share/gccxml-0.9/GCC/3.2/bits/ostream.tcc +713 -0
  195. data/share/gccxml-0.9/GCC/3.2/bits/sstream.tcc +241 -0
  196. data/share/gccxml-0.9/GCC/3.2/bits/stl_deque.h +1682 -0
  197. data/share/gccxml-0.9/GCC/3.2/bits/stl_list.h +989 -0
  198. data/share/gccxml-0.9/GCC/3.2/bits/stl_tree.h +1462 -0
  199. data/share/gccxml-0.9/GCC/3.2/bits/stl_vector.h +1085 -0
  200. data/share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h +1063 -0
  201. data/share/gccxml-0.9/GCC/3.2/fstream +579 -0
  202. data/share/gccxml-0.9/GCC/3.2/pthread.h +16 -0
  203. data/share/gccxml-0.9/GCC/3.2/sstream +384 -0
  204. data/share/gccxml-0.9/GCC/3.3/bits/fstream.tcc +530 -0
  205. data/share/gccxml-0.9/GCC/3.3/bits/list.tcc +378 -0
  206. data/share/gccxml-0.9/GCC/3.3/bits/locale_facets.h +2050 -0
  207. data/share/gccxml-0.9/GCC/3.3/bits/messages_members.h +108 -0
  208. data/share/gccxml-0.9/GCC/3.3/bits/sstream.tcc +243 -0
  209. data/share/gccxml-0.9/GCC/3.3/bits/stl_deque.h +1603 -0
  210. data/share/gccxml-0.9/GCC/3.3/bits/stl_list.h +1167 -0
  211. data/share/gccxml-0.9/GCC/3.3/bits/stl_tree.h +1462 -0
  212. data/share/gccxml-0.9/GCC/3.3/bits/stl_vector.h +992 -0
  213. data/share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h +1135 -0
  214. data/share/gccxml-0.9/GCC/3.3/fstream +842 -0
  215. data/share/gccxml-0.9/GCC/3.3/gccxml_builtins.h +22 -0
  216. data/share/gccxml-0.9/GCC/3.3/sstream +638 -0
  217. data/share/gccxml-0.9/GCC/3.4/bits/gthr-default.h +664 -0
  218. data/share/gccxml-0.9/GCC/3.4/gccxml_builtins.h +91 -0
  219. data/share/gccxml-0.9/GCC/4.0/gccxml_builtins.h +128 -0
  220. data/share/gccxml-0.9/GCC/4.1/bits/gthr-default.h +618 -0
  221. data/share/gccxml-0.9/GCC/4.1/gccxml_builtins.h +131 -0
  222. data/share/gccxml-0.9/GCC/4.2/gccxml_builtins.h +131 -0
  223. data/share/gccxml-0.9/GCC/4.3/gccxml_builtins.h +182 -0
  224. data/share/gccxml-0.9/IBM/8.0/adapt_headers.sh +34 -0
  225. data/share/gccxml-0.9/IBM/8.0/stdlib.h.patch +27 -0
  226. data/share/gccxml-0.9/IBM/8.0/xstring.patch +19 -0
  227. data/share/gccxml-0.9/IBM/README +8 -0
  228. data/share/gccxml-0.9/IBM/find_flags +51 -0
  229. data/share/gccxml-0.9/IBM/find_flags_common +48 -0
  230. data/share/gccxml-0.9/Intel/find_flags +56 -0
  231. data/share/gccxml-0.9/Intel/pthread.h +16 -0
  232. data/share/gccxml-0.9/MIPSpro/7.3/exception +9 -0
  233. data/share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h +21 -0
  234. data/share/gccxml-0.9/MIPSpro/7.3/iomanip +161 -0
  235. data/share/gccxml-0.9/MIPSpro/7.3/ostream +9 -0
  236. data/share/gccxml-0.9/MIPSpro/7.3/stddef.h +9 -0
  237. data/share/gccxml-0.9/MIPSpro/7.3/stl_config.h +9 -0
  238. data/share/gccxml-0.9/MIPSpro/7.3/stl_locale.h +17 -0
  239. data/share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h +14 -0
  240. data/share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h +13 -0
  241. data/share/gccxml-0.9/MIPSpro/7.3/stl_threads.h +11 -0
  242. data/share/gccxml-0.9/MIPSpro/7.3/string +18 -0
  243. data/share/gccxml-0.9/MIPSpro/find_flags +70 -0
  244. data/share/gccxml-0.9/MIPSpro/mipspro_defs.cxx +63 -0
  245. data/share/gccxml-0.9/Sun/5.8/Cstd.patch +156 -0
  246. data/share/gccxml-0.9/Sun/5.8/adapt_headers.sh +32 -0
  247. data/share/gccxml-0.9/Sun/5.8/std-5.10.patch +22 -0
  248. data/share/gccxml-0.9/Sun/README +8 -0
  249. data/share/gccxml-0.9/Sun/find_flags +51 -0
  250. data/share/gccxml-0.9/Sun/find_flags_common +42 -0
  251. data/share/gccxml-0.9/VcInstall/vc6Include.patch +4560 -0
  252. data/share/gccxml-0.9/VcInstall/vc71Include.patch +921 -0
  253. data/share/gccxml-0.9/VcInstall/vc71PlatformSDK.patch +146 -0
  254. data/share/gccxml-0.9/VcInstall/vc7Include.patch +1139 -0
  255. data/share/gccxml-0.9/VcInstall/vc7PlatformSDK.patch +146 -0
  256. data/share/gccxml-0.9/VcInstall/vc8ExpressInclude.patch +1887 -0
  257. data/share/gccxml-0.9/VcInstall/vc8ExpressPlatformSDK.patch +252 -0
  258. data/share/gccxml-0.9/VcInstall/vc8Include.patch +1887 -0
  259. data/share/gccxml-0.9/VcInstall/vc8PlatformSDK.patch +252 -0
  260. data/share/gccxml-0.9/VcInstall/vc8sp1ExpressInclude.patch +1941 -0
  261. data/share/gccxml-0.9/VcInstall/vc8sp1Include.patch +1970 -0
  262. data/share/gccxml-0.9/VcInstall/vc8sp1PlatformSDK.patch +252 -0
  263. data/share/gccxml-0.9/VcInstall/vc9Include.patch +2047 -0
  264. data/share/gccxml-0.9/VcInstall/vc9PlatformSDK.patch +383 -0
  265. data/share/gccxml-0.9/VcInstall/vc9sp1Include.patch +2565 -0
  266. data/share/gccxml-0.9/VcInstall/vcCat.exe +0 -0
  267. data/share/gccxml-0.9/VcInstall/vcCat.readme.txt +3 -0
  268. data/share/gccxml-0.9/VcInstall/vcPatch.exe +0 -0
  269. data/share/gccxml-0.9/VcInstall/vcPatch.readme.txt +27 -0
  270. data/share/gccxml-0.9/VcInstall/vc_helper +1 -0
  271. data/share/gccxml-0.9/gccxml_config +2 -0
  272. data/share/gccxml-0.9/gccxml_identify_compiler.cc +13 -0
  273. data/share/man/man1/gccxml.1 +246 -0
  274. metadata +331 -0
@@ -0,0 +1,131 @@
1
+ #define __builtin_apply(x,y,z) ((void*)0)
2
+ #define __builtin_nan(x) (0.0)
3
+ #define __builtin_nanf(x) (0.0f)
4
+ #define __builtin_nanl(x) (0.0l)
5
+ #define __builtin_huge_val(x) (0.0)
6
+ #define __builtin_huge_valf(x) (0.0f)
7
+ #define __builtin_huge_vall(x) (0.0l)
8
+ #define __builtin_apply_args(x) ((void*)0)
9
+ #define __builtin_types_compatible_p(x,y) 0
10
+ #define __builtin_choose_expr(x,y,z) int
11
+ #define __builtin_constant_p(x) 0
12
+ #define __builtin_offsetof(x,y) 0
13
+ void __builtin_return (void *RESULT);
14
+ void * __builtin_return_address (unsigned int LEVEL);
15
+ void * __builtin_frame_address (unsigned int LEVEL);
16
+ long __builtin_expect (long EXP, long C);
17
+ void __builtin_prefetch (const void *ADDR, ...);
18
+ double __builtin_inf (void);
19
+ float __builtin_inff (void);
20
+ long double __builtin_infl (void);
21
+ double __builtin_nans (const char *str);
22
+ float __builtin_nansf (const char *str);
23
+ long double __builtin_nansl (const char *str);
24
+ double __builtin_acos(double);
25
+ float __builtin_acosf(float);
26
+ long double __builtin_acosl(long double);
27
+ double __builtin_asin(double);
28
+ float __builtin_asinf(float);
29
+ long double __builtin_asinl(long double);
30
+ double __builtin_atan(double);
31
+ double __builtin_atan2(double, double);
32
+ float __builtin_atan2f(float, float);
33
+ long double __builtin_atan2l(long double, long double);
34
+ float __builtin_atanf(float);
35
+ long double __builtin_atanl(long double);
36
+ double __builtin_ceil(double);
37
+ float __builtin_ceilf(float);
38
+ long double __builtin_ceill(long double);
39
+ double __builtin_cos(double);
40
+ float __builtin_cosf(float);
41
+ double __builtin_cosh(double);
42
+ float __builtin_coshf(float);
43
+ long double __builtin_coshl(long double);
44
+ long double __builtin_cosl(long double);
45
+ double __builtin_exp(double);
46
+ float __builtin_expf(float);
47
+ long double __builtin_expl(long double);
48
+ double __builtin_fabs(double);
49
+ float __builtin_fabsf(float);
50
+ long double __builtin_fabsl(long double);
51
+ double __builtin_floor(double);
52
+ float __builtin_floorf(float);
53
+ long double __builtin_floorl(long double);
54
+ float __builtin_fmodf(float, float);
55
+ long double __builtin_fmodl(long double, long double);
56
+ double __builtin_frexp(double, int*);
57
+ float __builtin_frexpf(float, int*);
58
+ long double __builtin_frexpl(long double, int*);
59
+ double __builtin_ldexp(double, int);
60
+ float __builtin_ldexpf(float, int);
61
+ long double __builtin_ldexpl(long double, int);
62
+ double __builtin_log(double);
63
+ double __builtin_log10(double);
64
+ float __builtin_log10f(float);
65
+ long double __builtin_log10l(long double);
66
+ float __builtin_logf(float);
67
+ long double __builtin_logl(long double);
68
+ float __builtin_modff(float, float*);
69
+ long double __builtin_modfl(long double, long double*);
70
+ float __builtin_powf(float, float);
71
+ long double __builtin_powl(long double, long double);
72
+ double __builtin_powi(double, int);
73
+ float __builtin_powif(float, int);
74
+ long double __builtin_powil(long double, int);
75
+ double __builtin_sin(double);
76
+ float __builtin_sinf(float);
77
+ double __builtin_sinh(double);
78
+ float __builtin_sinhf(float);
79
+ long double __builtin_sinhl(long double);
80
+ long double __builtin_sinl(long double);
81
+ double __builtin_sqrt(double);
82
+ float __builtin_sqrtf(float);
83
+ long double __builtin_sqrtl(long double);
84
+ double __builtin_tan(double);
85
+ float __builtin_tanf(float);
86
+ double __builtin_tanh(double);
87
+ float __builtin_tanhf(float);
88
+ long double __builtin_tanhl(long double);
89
+ long double __builtin_tanl(long double);
90
+ float __builtin_cabsf(float __complex__);
91
+ double __builtin_cabs(double __complex__);
92
+ long double __builtin_cabsl(long double __complex__);
93
+ float __builtin_cargf(float __complex__);
94
+ double __builtin_carg(double __complex__);
95
+ long double __builtin_cargl(long double __complex__);
96
+ int __builtin_ctz(int);
97
+ int __builtin_ctzl(long);
98
+ int __builtin_ctzll(long long);
99
+ int __builtin_popcount(int);
100
+ int __builtin_popcountl(long);
101
+ int __builtin_popcountll(long long);
102
+ float __complex__ __builtin_ccosf(float __complex__);
103
+ double __complex__ __builtin_ccos(double __complex__);
104
+ long double __complex__ __builtin_ccosl(long double __complex__);
105
+ float __complex__ __builtin_ccoshf(float __complex__);
106
+ double __complex__ __builtin_ccosh(double __complex__);
107
+ long double __complex__ __builtin_ccoshl(long double __complex__);
108
+ float __complex__ __builtin_cexpf(float __complex__);
109
+ double __complex__ __builtin_cexp(double __complex__);
110
+ long double __complex__ __builtin_cexpl(long double __complex__);
111
+ float __complex__ __builtin_clogf(float __complex__);
112
+ double __complex__ __builtin_clog(double __complex__);
113
+ long double __complex__ __builtin_clogl(long double __complex__);
114
+ float __complex__ __builtin_csinf(float __complex__);
115
+ double __complex__ __builtin_csin(double __complex__);
116
+ long double __complex__ __builtin_csinl(long double __complex__);
117
+ float __complex__ __builtin_csinhf(float __complex__);
118
+ double __complex__ __builtin_csinh(double __complex__);
119
+ long double __complex__ __builtin_csinhl(long double __complex__);
120
+ float __complex__ __builtin_csqrtf(float __complex__);
121
+ double __complex__ __builtin_csqrt(double __complex__);
122
+ long double __complex__ __builtin_csqrtl(long double __complex__);
123
+ float __complex__ __builtin_ctanf(float __complex__);
124
+ double __complex__ __builtin_ctan(double __complex__);
125
+ long double __complex__ __builtin_ctanl(long double __complex__);
126
+ float __complex__ __builtin_ctanhf(float __complex__);
127
+ double __complex__ __builtin_ctanh(double __complex__);
128
+ long double __complex__ __builtin_ctanhl(long double __complex__);
129
+ float __complex__ __builtin_cpowf(float __complex__, float __complex__);
130
+ double __complex__ __builtin_cpow(double __complex__, double __complex__);
131
+ long double __complex__ __builtin_cpowl(long double __complex__, long double __complex__);
@@ -0,0 +1,131 @@
1
+ #define __builtin_apply(x,y,z) ((void*)0)
2
+ #define __builtin_nan(x) (0.0)
3
+ #define __builtin_nanf(x) (0.0f)
4
+ #define __builtin_nanl(x) (0.0l)
5
+ #define __builtin_huge_val(x) (0.0)
6
+ #define __builtin_huge_valf(x) (0.0f)
7
+ #define __builtin_huge_vall(x) (0.0l)
8
+ #define __builtin_apply_args(x) ((void*)0)
9
+ #define __builtin_types_compatible_p(x,y) 0
10
+ #define __builtin_choose_expr(x,y,z) int
11
+ #define __builtin_constant_p(x) 0
12
+ #define __builtin_offsetof(x,y) 0
13
+ void __builtin_return (void *RESULT);
14
+ void * __builtin_return_address (unsigned int LEVEL);
15
+ void * __builtin_frame_address (unsigned int LEVEL);
16
+ long __builtin_expect (long EXP, long C);
17
+ void __builtin_prefetch (const void *ADDR, ...);
18
+ double __builtin_inf (void);
19
+ float __builtin_inff (void);
20
+ long double __builtin_infl (void);
21
+ double __builtin_nans (const char *str);
22
+ float __builtin_nansf (const char *str);
23
+ long double __builtin_nansl (const char *str);
24
+ double __builtin_acos(double);
25
+ float __builtin_acosf(float);
26
+ long double __builtin_acosl(long double);
27
+ double __builtin_asin(double);
28
+ float __builtin_asinf(float);
29
+ long double __builtin_asinl(long double);
30
+ double __builtin_atan(double);
31
+ double __builtin_atan2(double, double);
32
+ float __builtin_atan2f(float, float);
33
+ long double __builtin_atan2l(long double, long double);
34
+ float __builtin_atanf(float);
35
+ long double __builtin_atanl(long double);
36
+ double __builtin_ceil(double);
37
+ float __builtin_ceilf(float);
38
+ long double __builtin_ceill(long double);
39
+ double __builtin_cos(double);
40
+ float __builtin_cosf(float);
41
+ double __builtin_cosh(double);
42
+ float __builtin_coshf(float);
43
+ long double __builtin_coshl(long double);
44
+ long double __builtin_cosl(long double);
45
+ double __builtin_exp(double);
46
+ float __builtin_expf(float);
47
+ long double __builtin_expl(long double);
48
+ double __builtin_fabs(double);
49
+ float __builtin_fabsf(float);
50
+ long double __builtin_fabsl(long double);
51
+ double __builtin_floor(double);
52
+ float __builtin_floorf(float);
53
+ long double __builtin_floorl(long double);
54
+ float __builtin_fmodf(float, float);
55
+ long double __builtin_fmodl(long double, long double);
56
+ double __builtin_frexp(double, int*);
57
+ float __builtin_frexpf(float, int*);
58
+ long double __builtin_frexpl(long double, int*);
59
+ double __builtin_ldexp(double, int);
60
+ float __builtin_ldexpf(float, int);
61
+ long double __builtin_ldexpl(long double, int);
62
+ double __builtin_log(double);
63
+ double __builtin_log10(double);
64
+ float __builtin_log10f(float);
65
+ long double __builtin_log10l(long double);
66
+ float __builtin_logf(float);
67
+ long double __builtin_logl(long double);
68
+ float __builtin_modff(float, float*);
69
+ long double __builtin_modfl(long double, long double*);
70
+ float __builtin_powf(float, float);
71
+ long double __builtin_powl(long double, long double);
72
+ double __builtin_powi(double, int);
73
+ float __builtin_powif(float, int);
74
+ long double __builtin_powil(long double, int);
75
+ double __builtin_sin(double);
76
+ float __builtin_sinf(float);
77
+ double __builtin_sinh(double);
78
+ float __builtin_sinhf(float);
79
+ long double __builtin_sinhl(long double);
80
+ long double __builtin_sinl(long double);
81
+ double __builtin_sqrt(double);
82
+ float __builtin_sqrtf(float);
83
+ long double __builtin_sqrtl(long double);
84
+ double __builtin_tan(double);
85
+ float __builtin_tanf(float);
86
+ double __builtin_tanh(double);
87
+ float __builtin_tanhf(float);
88
+ long double __builtin_tanhl(long double);
89
+ long double __builtin_tanl(long double);
90
+ float __builtin_cabsf(float __complex__);
91
+ double __builtin_cabs(double __complex__);
92
+ long double __builtin_cabsl(long double __complex__);
93
+ float __builtin_cargf(float __complex__);
94
+ double __builtin_carg(double __complex__);
95
+ long double __builtin_cargl(long double __complex__);
96
+ int __builtin_ctz(int);
97
+ int __builtin_ctzl(long);
98
+ int __builtin_ctzll(long long);
99
+ int __builtin_popcount(int);
100
+ int __builtin_popcountl(long);
101
+ int __builtin_popcountll(long long);
102
+ float __complex__ __builtin_ccosf(float __complex__);
103
+ double __complex__ __builtin_ccos(double __complex__);
104
+ long double __complex__ __builtin_ccosl(long double __complex__);
105
+ float __complex__ __builtin_ccoshf(float __complex__);
106
+ double __complex__ __builtin_ccosh(double __complex__);
107
+ long double __complex__ __builtin_ccoshl(long double __complex__);
108
+ float __complex__ __builtin_cexpf(float __complex__);
109
+ double __complex__ __builtin_cexp(double __complex__);
110
+ long double __complex__ __builtin_cexpl(long double __complex__);
111
+ float __complex__ __builtin_clogf(float __complex__);
112
+ double __complex__ __builtin_clog(double __complex__);
113
+ long double __complex__ __builtin_clogl(long double __complex__);
114
+ float __complex__ __builtin_csinf(float __complex__);
115
+ double __complex__ __builtin_csin(double __complex__);
116
+ long double __complex__ __builtin_csinl(long double __complex__);
117
+ float __complex__ __builtin_csinhf(float __complex__);
118
+ double __complex__ __builtin_csinh(double __complex__);
119
+ long double __complex__ __builtin_csinhl(long double __complex__);
120
+ float __complex__ __builtin_csqrtf(float __complex__);
121
+ double __complex__ __builtin_csqrt(double __complex__);
122
+ long double __complex__ __builtin_csqrtl(long double __complex__);
123
+ float __complex__ __builtin_ctanf(float __complex__);
124
+ double __complex__ __builtin_ctan(double __complex__);
125
+ long double __complex__ __builtin_ctanl(long double __complex__);
126
+ float __complex__ __builtin_ctanhf(float __complex__);
127
+ double __complex__ __builtin_ctanh(double __complex__);
128
+ long double __complex__ __builtin_ctanhl(long double __complex__);
129
+ float __complex__ __builtin_cpowf(float __complex__, float __complex__);
130
+ double __complex__ __builtin_cpow(double __complex__, double __complex__);
131
+ long double __complex__ __builtin_cpowl(long double __complex__, long double __complex__);
@@ -0,0 +1,182 @@
1
+ #define __builtin_apply(x,y,z) ((void*)0)
2
+ #define __builtin_nan(x) (0.0)
3
+ #define __builtin_nanf(x) (0.0f)
4
+ #define __builtin_nanl(x) (0.0l)
5
+ #define __builtin_huge_val(x) (0.0)
6
+ #define __builtin_huge_valf(x) (0.0f)
7
+ #define __builtin_huge_vall(x) (0.0l)
8
+ #define __builtin_apply_args(x) ((void*)0)
9
+ #define __builtin_types_compatible_p(x,y) 0
10
+ #define __builtin_choose_expr(x,y,z) int
11
+ #define __builtin_constant_p(x) 0
12
+ void* __builtin_memchr(void const*, int, unsigned int);
13
+ void __builtin_return (void *RESULT);
14
+ void * __builtin_return_address (unsigned int LEVEL);
15
+ void * __builtin_frame_address (unsigned int LEVEL);
16
+ long __builtin_expect (long EXP, long C);
17
+ void __builtin_prefetch (const void *ADDR, ...);
18
+ double __builtin_inf (void);
19
+ float __builtin_inff (void);
20
+ long double __builtin_infl (void);
21
+ double __builtin_nans (const char *str);
22
+ float __builtin_nansf (const char *str);
23
+ long double __builtin_nansl (const char *str);
24
+ double __builtin_acos(double);
25
+ float __builtin_acosf(float);
26
+ long double __builtin_acosl(long double);
27
+ double __builtin_asin(double);
28
+ float __builtin_asinf(float);
29
+ long double __builtin_asinl(long double);
30
+ double __builtin_atan(double);
31
+ double __builtin_atan2(double, double);
32
+ float __builtin_atan2f(float, float);
33
+ long double __builtin_atan2l(long double, long double);
34
+ float __builtin_atanf(float);
35
+ long double __builtin_atanl(long double);
36
+ double __builtin_ceil(double);
37
+ float __builtin_ceilf(float);
38
+ long double __builtin_ceill(long double);
39
+ double __builtin_cos(double);
40
+ float __builtin_cosf(float);
41
+ double __builtin_cosh(double);
42
+ float __builtin_coshf(float);
43
+ long double __builtin_coshl(long double);
44
+ long double __builtin_cosl(long double);
45
+ double __builtin_exp(double);
46
+ float __builtin_expf(float);
47
+ long double __builtin_expl(long double);
48
+ double __builtin_fabs(double);
49
+ float __builtin_fabsf(float);
50
+ long double __builtin_fabsl(long double);
51
+ double __builtin_floor(double);
52
+ float __builtin_floorf(float);
53
+ long double __builtin_floorl(long double);
54
+ float __builtin_fmodf(float, float);
55
+ long double __builtin_fmodl(long double, long double);
56
+ double __builtin_frexp(double, int*);
57
+ float __builtin_frexpf(float, int*);
58
+ long double __builtin_frexpl(long double, int*);
59
+ double __builtin_ldexp(double, int);
60
+ float __builtin_ldexpf(float, int);
61
+ long double __builtin_ldexpl(long double, int);
62
+ double __builtin_log(double);
63
+ double __builtin_log10(double);
64
+ float __builtin_log10f(float);
65
+ long double __builtin_log10l(long double);
66
+ float __builtin_logf(float);
67
+ long double __builtin_logl(long double);
68
+ float __builtin_modff(float, float*);
69
+ long double __builtin_modfl(long double, long double*);
70
+ float __builtin_powf(float, float);
71
+ long double __builtin_powl(long double, long double);
72
+ double __builtin_powi(double, int);
73
+ float __builtin_powif(float, int);
74
+ long double __builtin_powil(long double, int);
75
+ double __builtin_sin(double);
76
+ float __builtin_sinf(float);
77
+ double __builtin_sinh(double);
78
+ float __builtin_sinhf(float);
79
+ long double __builtin_sinhl(long double);
80
+ long double __builtin_sinl(long double);
81
+ double __builtin_sqrt(double);
82
+ float __builtin_sqrtf(float);
83
+ long double __builtin_sqrtl(long double);
84
+ double __builtin_tan(double);
85
+ float __builtin_tanf(float);
86
+ double __builtin_tanh(double);
87
+ float __builtin_tanhf(float);
88
+ long double __builtin_tanhl(long double);
89
+ long double __builtin_tanl(long double);
90
+ float __builtin_cabsf(float __complex__);
91
+ double __builtin_cabs(double __complex__);
92
+ long double __builtin_cabsl(long double __complex__);
93
+ float __builtin_cargf(float __complex__);
94
+ double __builtin_carg(double __complex__);
95
+ long double __builtin_cargl(long double __complex__);
96
+ int __builtin_ctz(int);
97
+ int __builtin_ctzl(long);
98
+ int __builtin_ctzll(long long);
99
+ int __builtin_popcount(int);
100
+ int __builtin_popcountl(long);
101
+ int __builtin_popcountll(long long);
102
+ float __complex__ __builtin_ccosf(float __complex__);
103
+ double __complex__ __builtin_ccos(double __complex__);
104
+ long double __complex__ __builtin_ccosl(long double __complex__);
105
+ float __complex__ __builtin_ccoshf(float __complex__);
106
+ double __complex__ __builtin_ccosh(double __complex__);
107
+ long double __complex__ __builtin_ccoshl(long double __complex__);
108
+ float __complex__ __builtin_cexpf(float __complex__);
109
+ double __complex__ __builtin_cexp(double __complex__);
110
+ long double __complex__ __builtin_cexpl(long double __complex__);
111
+ float __complex__ __builtin_clogf(float __complex__);
112
+ double __complex__ __builtin_clog(double __complex__);
113
+ long double __complex__ __builtin_clogl(long double __complex__);
114
+ float __complex__ __builtin_csinf(float __complex__);
115
+ double __complex__ __builtin_csin(double __complex__);
116
+ long double __complex__ __builtin_csinl(long double __complex__);
117
+ float __complex__ __builtin_csinhf(float __complex__);
118
+ double __complex__ __builtin_csinh(double __complex__);
119
+ long double __complex__ __builtin_csinhl(long double __complex__);
120
+ float __complex__ __builtin_csqrtf(float __complex__);
121
+ double __complex__ __builtin_csqrt(double __complex__);
122
+ long double __complex__ __builtin_csqrtl(long double __complex__);
123
+ float __complex__ __builtin_ctanf(float __complex__);
124
+ double __complex__ __builtin_ctan(double __complex__);
125
+ long double __complex__ __builtin_ctanl(long double __complex__);
126
+ float __complex__ __builtin_ctanhf(float __complex__);
127
+ double __complex__ __builtin_ctanh(double __complex__);
128
+ long double __complex__ __builtin_ctanhl(long double __complex__);
129
+ float __complex__ __builtin_cpowf(float __complex__, float __complex__);
130
+ double __complex__ __builtin_cpow(double __complex__, double __complex__);
131
+ long double __complex__ __builtin_cpowl(long double __complex__, long double __complex__);
132
+
133
+ /* The GCC 4.3 parser hard-codes handling of these, so they do not
134
+ have real signatures. */
135
+ bool __builtin_isfinite(...);
136
+ bool __builtin_isinf(...);
137
+ bool __builtin_isnan(...);
138
+ bool __builtin_isnormal(...);
139
+ bool __builtin_isgreater(...);
140
+ bool __builtin_isgreaterequal(...);
141
+ bool __builtin_isless(...);
142
+ bool __builtin_islessequal(...);
143
+ bool __builtin_islessgreater(...);
144
+ bool __builtin_isunordered(...);
145
+ bool __builtin_va_arg_pack(...);
146
+
147
+ /*
148
+
149
+ GCC 4.3 has the following additional builtin compile-time constant
150
+ expressions:
151
+
152
+ __builtin_va_arg ( assignment-expression , type-id )
153
+ __builtin_offsetof ( type-id , offsetof-expression )
154
+
155
+ __has_nothrow_assign(T)
156
+ __has_nothrow_constructor(T)
157
+ __has_nothrow_copy(T)
158
+ __has_trivial_assign(T)
159
+ __has_trivial_constructor(T)
160
+ __has_trivial_copy(T)
161
+ __has_trivial_destructor(T)
162
+ __has_virtual_destructor(T)
163
+ __is_abstract(T)
164
+ __is_base_of(Tbase,Tderived)
165
+ __is_class(T)
166
+ __is_convertible_to(Tfrom,Tto)
167
+ __is_empty(T)
168
+ __is_enum(T)
169
+ __is_pod(T)
170
+ __is_polymorphic(T)
171
+ __is_union(T)
172
+
173
+ In order to really support these we would have to update GCC-XML's
174
+ internal parser to be GCC 4.3. Since this has not yet been done we
175
+ get most of the way by defining some of these as macros with fake
176
+ answers. It is enough to get through GCC 4.3's C++98 standard
177
+ library.
178
+ */
179
+
180
+ #define __is_pod(x) false
181
+ #define __is_empty(x) false
182
+ #define __has_trivial_destructor(x) false
@@ -0,0 +1,34 @@
1
+ #!/bin/sh
2
+
3
+ cd `dirname $0`
4
+
5
+ #########################################
6
+ # Patch C++ Compiler Includes
7
+ #########################################
8
+
9
+ XLC_INCLUDES=`../find_flags "$@" | perl -ne '($a) = m|-I([/a-zA-Z0-9\._-]+)|o ; print "$a\n" if $a'`
10
+
11
+ for f in $XLC_INCLUDES/*
12
+ do
13
+ b=`basename $f`
14
+
15
+ sed \
16
+ -e 's/\(extern[[:space:]]\{1,\}\)"builtin"/\1"C"/g' \
17
+ -e 's/^\([[:space:]]\{1,\}\)??=/\1#/g' \
18
+ -e 's/__IBMCPP__ < 400/!defined(__GCCXML__)/g' \
19
+ -e 's/IBM VisualAge C++ v4 and later compilers/GCCXML/g' \
20
+ -e '/#pragma[[:space:]]\{1,\}implementation/d' \
21
+ $f > $b.tmp
22
+
23
+ if ! cmp -s $f $b.tmp
24
+ then
25
+ echo "modifying $b"
26
+ mv $b.tmp $b
27
+ else
28
+ rm $b.tmp
29
+ fi
30
+
31
+ done
32
+
33
+ patch -s -i stdlib.h.patch
34
+ patch -s -i xstring.patch
@@ -0,0 +1,27 @@
1
+ *** stdlib.h.orig Mon Jun 8 17:46:16 2009
2
+ --- stdlib.h Mon Jun 8 17:46:32 2009
3
+ ***************
4
+ *** 33,43 ****
5
+ # endif
6
+
7
+ # if defined (__MATH__) && defined (_ANSI_C_SOURCE)
8
+ ! inline int abs (int );
9
+ # if defined (__ABS_LONG__)
10
+ extern "C++" inline long abs (long );
11
+ # endif
12
+ ! inline long labs (long );
13
+ # endif
14
+ # if defined (__MATH__) && defined(__XLC13__) && defined(_LONG_LONG) && defined(_ALL_SOURCE)
15
+ inline long long llabs(long long);
16
+ --- 33,43 ----
17
+ # endif
18
+
19
+ # if defined (__MATH__) && defined (_ANSI_C_SOURCE)
20
+ ! extern "C" inline int abs (int );
21
+ # if defined (__ABS_LONG__)
22
+ extern "C++" inline long abs (long );
23
+ # endif
24
+ ! extern "C" inline long labs (long );
25
+ # endif
26
+ # if defined (__MATH__) && defined(__XLC13__) && defined(_LONG_LONG) && defined(_ALL_SOURCE)
27
+ inline long long llabs(long long);
@@ -0,0 +1,19 @@
1
+ *** xstring.orig Mon Jun 8 17:48:44 2009
2
+ --- xstring Mon Jun 8 17:48:56 2009
3
+ ***************
4
+ *** 571,577 ****
5
+ template<class _E, class _Tr, class _A>
6
+ const typename basic_string<_E, _Tr, _A>::size_type
7
+ basic_string<_E, _Tr, _A>::npos =
8
+ ! (basic_string<_E, _Tr, _A>::size_type)(-1);
9
+
10
+ template<class _E, class _Tr, class _A> inline
11
+ void swap(basic_string<_E, _Tr, _A>& _X,
12
+ --- 571,577 ----
13
+ template<class _E, class _Tr, class _A>
14
+ const typename basic_string<_E, _Tr, _A>::size_type
15
+ basic_string<_E, _Tr, _A>::npos =
16
+ ! (typename basic_string<_E, _Tr, _A>::size_type)(-1);
17
+
18
+ template<class _E, class _Tr, class _A> inline
19
+ void swap(basic_string<_E, _Tr, _A>& _X,
@@ -0,0 +1,8 @@
1
+ IBM xlC support contributed by Hady Zalek
2
+
3
+ This is a small README file regarding gccxml support for AIX and IBM xlC.
4
+
5
+ The IBM xlC headers are not suitable for GCC and need to be adapted. The modified files may not be redistributed freely. This forces you to perform the following operations:
6
+ ./<xlC-version>/adapt_headers.sh
7
+
8
+ This will produce corrected header files in the corresponding directory.
@@ -0,0 +1,51 @@
1
+ #!/bin/sh
2
+ #=============================================================================
3
+ #
4
+ # Program: GCC-XML
5
+ # Module: $RCSfile: find_flags,v $
6
+ # Language: C++
7
+ # Date: $Date: 2009-06-09 18:18:45 $
8
+ # Version: $Revision: 1.1 $
9
+ #
10
+ # Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
11
+ # See Copyright.txt for details.
12
+ #
13
+ # This software is distributed WITHOUT ANY WARRANTY; without even
14
+ # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15
+ # PURPOSE. See the above copyright notices for more information.
16
+ #
17
+ #=============================================================================
18
+
19
+ # Find the compiler executable name.
20
+ if test "x$1" = "x" ; then
21
+ if test "x${CXX}" = "x" ; then
22
+ CXX=xlC
23
+ fi
24
+ else
25
+ CXX="$1"
26
+ shift
27
+ CXXFLAGS="$@"
28
+ fi
29
+
30
+ # Find the compiler version
31
+ CXX_VERSION=`${CXX} -qversion 2>&1 | perl -ne 'print m|\WV(\d+\.\d+)|o'`
32
+ [ -z "${CXX_VERSION}" ] && echo "Could not find compiler version" && exit 1
33
+
34
+ # Compute the script dir
35
+ SCRIPT_DIR=`dirname $0`
36
+ if test "x$SCRIPT_DIR" = "x" ; then SCRIPT_DIR="." ; fi
37
+ SCRIPT_DIR=`cd "$SCRIPT_DIR" ; pwd`
38
+
39
+ # Compute the version-specific support dir
40
+ CXX_SUPPORT_DIR="$SCRIPT_DIR/$CXX_VERSION"
41
+
42
+ # Use the version-specific find_flags if available
43
+ if [ -f "$CXX_SUPPORT_DIR/find_flags" ]
44
+ then
45
+ . "$CXX_SUPPORT_DIR/find_flags"
46
+ else
47
+ . "$SCRIPT_DIR/find_flags_common"
48
+ fi
49
+
50
+ # Print out the options
51
+ echo $OPTIONS
@@ -0,0 +1,48 @@
1
+ #!/bin/sh
2
+ #=============================================================================
3
+ #
4
+ # Program: GCC-XML
5
+ # Module: $RCSfile: find_flags_common,v $
6
+ # Language: C++
7
+ # Date: $Date: 2009-06-09 18:18:45 $
8
+ # Version: $Revision: 1.1 $
9
+ #
10
+ # Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
11
+ # See Copyright.txt for details.
12
+ #
13
+ # This software is distributed WITHOUT ANY WARRANTY; without even
14
+ # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15
+ # PURPOSE. See the above copyright notices for more information.
16
+ #
17
+ #=============================================================================
18
+
19
+ # Find the include path directory.
20
+ CXX_BIN_DIR=$(dirname $(which "${CXX}"))
21
+ CXX_INC_DIR=$(dirname $CXX_BIN_DIR)/include
22
+
23
+ if [ ! -d "$CXX_INC_DIR" ]
24
+ then
25
+ echo "Could not find the xlC include directory in $CXX_INC_DIR"
26
+ exit 1
27
+ fi
28
+
29
+ GCCXML_PID="$$"
30
+ cat > "/tmp/gccxml_identify_compiler_args$GCCXML_PID.cc" <<!
31
+ #include <>
32
+ !
33
+
34
+ # Find the macro definition options.
35
+ MACROS=`${CXX} ${CXXFLAGS} /tmp/gccxml_identify_compiler_args$GCCXML_PID.cc -E -V 2>&1 | perl -ne 'print m|(\W-D[^\s]+\s+)|og'`
36
+ MACROS="${MACROS} -D_WCHAR_T -D__MATH__ -D__TOS_AIX__ -D__BUILD_RT__"
37
+
38
+ # Find the include path options.
39
+ INCLUDES="-I${CXX_INC_DIR} -I/usr/include"
40
+
41
+ # Use hacked headers
42
+ INCLUDES="-iwrapper\"$CXX_SUPPORT_DIR\" $INCLUDES"
43
+
44
+ # Cleanup
45
+ rm -rf "/tmp/gccxml_identify_compiler_args$GCCXML_PID.cc"
46
+
47
+ # Format the options.
48
+ OPTIONS="$MACROS $INCLUDES $SPECIAL"