gccxml_gem 0.9.1-x86-cygwin → 0.9.2-x86-cygwin

Sign up to get free protection for your applications and to get access to all the features.
Files changed (256) hide show
  1. data/Rakefile +5 -1
  2. data/bin/gccxml.exe +0 -0
  3. data/bin/gccxml_cc1plus +0 -0
  4. data/bin/gccxml_cc1plus.exe +0 -0
  5. data/gccxml.rb +5 -5
  6. data/share/doc/gccxml-0.9/Copyright.txt +0 -0
  7. data/share/doc/gccxml-0.9/gccxml.html +0 -0
  8. data/share/doc/gccxml-0.9/gccxml.txt +0 -0
  9. data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm +0 -0
  10. data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm.h +0 -0
  11. data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset +0 -0
  12. data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset.h +0 -0
  13. data/share/gccxml-0.9/Borland/5.5/Wrappers/cctype +0 -0
  14. data/share/gccxml-0.9/Borland/5.5/Wrappers/cfloat +0 -0
  15. data/share/gccxml-0.9/Borland/5.5/Wrappers/climits +0 -0
  16. data/share/gccxml-0.9/Borland/5.5/Wrappers/cmath +0 -0
  17. data/share/gccxml-0.9/Borland/5.5/Wrappers/complex +0 -0
  18. data/share/gccxml-0.9/Borland/5.5/Wrappers/complex.h +0 -0
  19. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstddef +0 -0
  20. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdio +0 -0
  21. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdlib +0 -0
  22. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring +0 -0
  23. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring.h +0 -0
  24. data/share/gccxml-0.9/Borland/5.5/Wrappers/ctime +0 -0
  25. data/share/gccxml-0.9/Borland/5.5/Wrappers/cwchar +0 -0
  26. data/share/gccxml-0.9/Borland/5.5/Wrappers/cwctype +0 -0
  27. data/share/gccxml-0.9/Borland/5.5/Wrappers/deque +0 -0
  28. data/share/gccxml-0.9/Borland/5.5/Wrappers/deque.h +0 -0
  29. data/share/gccxml-0.9/Borland/5.5/Wrappers/exception +0 -0
  30. data/share/gccxml-0.9/Borland/5.5/Wrappers/exception.h +0 -0
  31. data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream +0 -0
  32. data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream.h +0 -0
  33. data/share/gccxml-0.9/Borland/5.5/Wrappers/function +0 -0
  34. data/share/gccxml-0.9/Borland/5.5/Wrappers/function.h +0 -0
  35. data/share/gccxml-0.9/Borland/5.5/Wrappers/functional +0 -0
  36. data/share/gccxml-0.9/Borland/5.5/Wrappers/gccxml_typeinfo.h +0 -0
  37. data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip +0 -0
  38. data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip.h +0 -0
  39. data/share/gccxml-0.9/Borland/5.5/Wrappers/ios +0 -0
  40. data/share/gccxml-0.9/Borland/5.5/Wrappers/ios.h +0 -0
  41. data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd +0 -0
  42. data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd.h +0 -0
  43. data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream +0 -0
  44. data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream.h +0 -0
  45. data/share/gccxml-0.9/Borland/5.5/Wrappers/istream +0 -0
  46. data/share/gccxml-0.9/Borland/5.5/Wrappers/istream.h +0 -0
  47. data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator +0 -0
  48. data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator.h +0 -0
  49. data/share/gccxml-0.9/Borland/5.5/Wrappers/limits +0 -0
  50. data/share/gccxml-0.9/Borland/5.5/Wrappers/limits.h +0 -0
  51. data/share/gccxml-0.9/Borland/5.5/Wrappers/list +0 -0
  52. data/share/gccxml-0.9/Borland/5.5/Wrappers/list.h +0 -0
  53. data/share/gccxml-0.9/Borland/5.5/Wrappers/locale +0 -0
  54. data/share/gccxml-0.9/Borland/5.5/Wrappers/locale.h +0 -0
  55. data/share/gccxml-0.9/Borland/5.5/Wrappers/map +0 -0
  56. data/share/gccxml-0.9/Borland/5.5/Wrappers/map.h +0 -0
  57. data/share/gccxml-0.9/Borland/5.5/Wrappers/memory +0 -0
  58. data/share/gccxml-0.9/Borland/5.5/Wrappers/memory.h +0 -0
  59. data/share/gccxml-0.9/Borland/5.5/Wrappers/new +0 -0
  60. data/share/gccxml-0.9/Borland/5.5/Wrappers/new.h +0 -0
  61. data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric +0 -0
  62. data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric.h +0 -0
  63. data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream +0 -0
  64. data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream.h +0 -0
  65. data/share/gccxml-0.9/Borland/5.5/Wrappers/queue +0 -0
  66. data/share/gccxml-0.9/Borland/5.5/Wrappers/queue.h +0 -0
  67. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/codecvt +0 -0
  68. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/collate +0 -0
  69. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/ctype +0 -0
  70. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iosbase +0 -0
  71. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iotraits +0 -0
  72. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iterator +0 -0
  73. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/lochelp +0 -0
  74. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locimpl +0 -0
  75. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locvector +0 -0
  76. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/messages +0 -0
  77. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/money +0 -0
  78. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numbrw +0 -0
  79. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numeral +0 -0
  80. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwdispatch.h +0 -0
  81. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwlocale +0 -0
  82. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwstderr_macros.h +0 -0
  83. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/string_ref +0 -0
  84. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/time +0 -0
  85. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/traits +0 -0
  86. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/tree +0 -0
  87. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/usefacet +0 -0
  88. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/valimp +0 -0
  89. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/vendor +0 -0
  90. data/share/gccxml-0.9/Borland/5.5/Wrappers/set +0 -0
  91. data/share/gccxml-0.9/Borland/5.5/Wrappers/set.h +0 -0
  92. data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream +0 -0
  93. data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream.h +0 -0
  94. data/share/gccxml-0.9/Borland/5.5/Wrappers/stack +0 -0
  95. data/share/gccxml-0.9/Borland/5.5/Wrappers/stack.h +0 -0
  96. data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept +0 -0
  97. data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept.h +0 -0
  98. data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf +0 -0
  99. data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf.h +0 -0
  100. data/share/gccxml-0.9/Borland/5.5/Wrappers/string +0 -0
  101. data/share/gccxml-0.9/Borland/5.5/Wrappers/string.h +0 -0
  102. data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream +0 -0
  103. data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream.h +0 -0
  104. data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo +0 -0
  105. data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo.h +0 -0
  106. data/share/gccxml-0.9/Borland/5.5/Wrappers/utility +0 -0
  107. data/share/gccxml-0.9/Borland/5.5/Wrappers/utility.h +0 -0
  108. data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray +0 -0
  109. data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray.h +0 -0
  110. data/share/gccxml-0.9/Borland/5.5/Wrappers/vector +0 -0
  111. data/share/gccxml-0.9/Borland/5.5/Wrappers/vector.h +0 -0
  112. data/share/gccxml-0.9/Borland/5.5/except.h +0 -0
  113. data/share/gccxml-0.9/Borland/5.5/gccxml_fstream.h +0 -0
  114. data/share/gccxml-0.9/Borland/5.5/gccxml_new.h +0 -0
  115. data/share/gccxml-0.9/Borland/5.5/gccxml_valarray.h +0 -0
  116. data/share/gccxml-0.9/Borland/5.5/gccxml_vector.h +0 -0
  117. data/share/gccxml-0.9/Borland/5.5/io.h +0 -0
  118. data/share/gccxml-0.9/Borland/5.5/oaidl.h +0 -0
  119. data/share/gccxml-0.9/Borland/5.5/propidl.h +0 -0
  120. data/share/gccxml-0.9/Borland/5.5/rw/locimpl.h +0 -0
  121. data/share/gccxml-0.9/Borland/5.5/rw/rwlocale.h +0 -0
  122. data/share/gccxml-0.9/Borland/5.5/stdarg.h +0 -0
  123. data/share/gccxml-0.9/Borland/5.5/valarray.cc +0 -0
  124. data/share/gccxml-0.9/GCC/2.95/algorithm +0 -0
  125. data/share/gccxml-0.9/GCC/2.95/bitset +0 -0
  126. data/share/gccxml-0.9/GCC/2.95/cctype +0 -0
  127. data/share/gccxml-0.9/GCC/2.95/clocale +0 -0
  128. data/share/gccxml-0.9/GCC/2.95/cmath +0 -0
  129. data/share/gccxml-0.9/GCC/2.95/complex +0 -0
  130. data/share/gccxml-0.9/GCC/2.95/csetjmp +0 -0
  131. data/share/gccxml-0.9/GCC/2.95/csignal +0 -0
  132. data/share/gccxml-0.9/GCC/2.95/cstdarg +0 -0
  133. data/share/gccxml-0.9/GCC/2.95/cstddef +0 -0
  134. data/share/gccxml-0.9/GCC/2.95/cstdio +0 -0
  135. data/share/gccxml-0.9/GCC/2.95/cstdlib +0 -0
  136. data/share/gccxml-0.9/GCC/2.95/cstring +0 -0
  137. data/share/gccxml-0.9/GCC/2.95/ctime +0 -0
  138. data/share/gccxml-0.9/GCC/2.95/cwchar +0 -0
  139. data/share/gccxml-0.9/GCC/2.95/cwctype +0 -0
  140. data/share/gccxml-0.9/GCC/2.95/deque +0 -0
  141. data/share/gccxml-0.9/GCC/2.95/exception +0 -0
  142. data/share/gccxml-0.9/GCC/2.95/fstream +0 -0
  143. data/share/gccxml-0.9/GCC/2.95/functional +0 -0
  144. data/share/gccxml-0.9/GCC/2.95/gccxml_bitset +0 -0
  145. data/share/gccxml-0.9/GCC/2.95/iomanip +0 -0
  146. data/share/gccxml-0.9/GCC/2.95/iosfwd +0 -0
  147. data/share/gccxml-0.9/GCC/2.95/iostream +0 -0
  148. data/share/gccxml-0.9/GCC/2.95/iterator +0 -0
  149. data/share/gccxml-0.9/GCC/2.95/list +0 -0
  150. data/share/gccxml-0.9/GCC/2.95/map +0 -0
  151. data/share/gccxml-0.9/GCC/2.95/memory +0 -0
  152. data/share/gccxml-0.9/GCC/2.95/new +0 -0
  153. data/share/gccxml-0.9/GCC/2.95/numeric +0 -0
  154. data/share/gccxml-0.9/GCC/2.95/pthread.h +0 -0
  155. data/share/gccxml-0.9/GCC/2.95/queue +0 -0
  156. data/share/gccxml-0.9/GCC/2.95/set +0 -0
  157. data/share/gccxml-0.9/GCC/2.95/sstream +0 -0
  158. data/share/gccxml-0.9/GCC/2.95/stack +0 -0
  159. data/share/gccxml-0.9/GCC/2.95/std/bastring.cc +0 -0
  160. data/share/gccxml-0.9/GCC/2.95/std/complext.h +0 -0
  161. data/share/gccxml-0.9/GCC/2.95/std/dcomplex.h +0 -0
  162. data/share/gccxml-0.9/GCC/2.95/std/fcomplex.h +0 -0
  163. data/share/gccxml-0.9/GCC/2.95/std/gslice_array.h +0 -0
  164. data/share/gccxml-0.9/GCC/2.95/std/indirect_array.h +0 -0
  165. data/share/gccxml-0.9/GCC/2.95/std/ldcomplex.h +0 -0
  166. data/share/gccxml-0.9/GCC/2.95/std/mask_array.h +0 -0
  167. data/share/gccxml-0.9/GCC/2.95/std/slice_array.h +0 -0
  168. data/share/gccxml-0.9/GCC/2.95/std/std_valarray.h +0 -0
  169. data/share/gccxml-0.9/GCC/2.95/std/straits.h +0 -0
  170. data/share/gccxml-0.9/GCC/2.95/std/valarray_meta.h +0 -0
  171. data/share/gccxml-0.9/GCC/2.95/stdexcept +0 -0
  172. data/share/gccxml-0.9/GCC/2.95/stl_alloc.h +0 -0
  173. data/share/gccxml-0.9/GCC/2.95/stl_bvector.h +0 -0
  174. data/share/gccxml-0.9/GCC/2.95/stl_deque.h +0 -0
  175. data/share/gccxml-0.9/GCC/2.95/stl_list.h +0 -0
  176. data/share/gccxml-0.9/GCC/2.95/stl_tree.h +0 -0
  177. data/share/gccxml-0.9/GCC/2.95/stl_vector.h +0 -0
  178. data/share/gccxml-0.9/GCC/2.95/string +0 -0
  179. data/share/gccxml-0.9/GCC/2.95/strstream +0 -0
  180. data/share/gccxml-0.9/GCC/2.95/typeinfo +0 -0
  181. data/share/gccxml-0.9/GCC/2.95/utility +0 -0
  182. data/share/gccxml-0.9/GCC/2.95/valarray +0 -0
  183. data/share/gccxml-0.9/GCC/2.95/vector +0 -0
  184. data/share/gccxml-0.9/GCC/2.96/sstream +0 -0
  185. data/share/gccxml-0.9/GCC/3.0/pthread.h +0 -0
  186. data/share/gccxml-0.9/GCC/3.1/pthread.h +0 -0
  187. data/share/gccxml-0.9/GCC/3.2/bits/fstream.tcc +0 -0
  188. data/share/gccxml-0.9/GCC/3.2/bits/gthr-default.h +581 -0
  189. data/share/gccxml-0.9/GCC/3.2/bits/istream.tcc +0 -0
  190. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.h +0 -0
  191. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc +0 -0
  192. data/share/gccxml-0.9/GCC/3.2/bits/messages_members.h +0 -0
  193. data/share/gccxml-0.9/GCC/3.2/bits/ostream.tcc +0 -0
  194. data/share/gccxml-0.9/GCC/3.2/bits/sstream.tcc +0 -0
  195. data/share/gccxml-0.9/GCC/3.2/bits/stl_deque.h +0 -0
  196. data/share/gccxml-0.9/GCC/3.2/bits/stl_list.h +0 -0
  197. data/share/gccxml-0.9/GCC/3.2/bits/stl_tree.h +0 -0
  198. data/share/gccxml-0.9/GCC/3.2/bits/stl_vector.h +0 -0
  199. data/share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h +0 -0
  200. data/share/gccxml-0.9/GCC/3.2/fstream +0 -0
  201. data/share/gccxml-0.9/GCC/3.2/pthread.h +0 -0
  202. data/share/gccxml-0.9/GCC/3.2/sstream +0 -0
  203. data/share/gccxml-0.9/GCC/3.3/bits/fstream.tcc +0 -0
  204. data/share/gccxml-0.9/GCC/3.3/bits/list.tcc +0 -0
  205. data/share/gccxml-0.9/GCC/3.3/bits/locale_facets.h +0 -0
  206. data/share/gccxml-0.9/GCC/3.3/bits/messages_members.h +0 -0
  207. data/share/gccxml-0.9/GCC/3.3/bits/sstream.tcc +0 -0
  208. data/share/gccxml-0.9/GCC/3.3/bits/stl_deque.h +0 -0
  209. data/share/gccxml-0.9/GCC/3.3/bits/stl_list.h +0 -0
  210. data/share/gccxml-0.9/GCC/3.3/bits/stl_tree.h +0 -0
  211. data/share/gccxml-0.9/GCC/3.3/bits/stl_vector.h +0 -0
  212. data/share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h +0 -0
  213. data/share/gccxml-0.9/GCC/3.3/fstream +0 -0
  214. data/share/gccxml-0.9/GCC/3.3/gccxml_builtins.h +0 -0
  215. data/share/gccxml-0.9/GCC/3.3/sstream +0 -0
  216. data/share/gccxml-0.9/GCC/3.4/bits/gthr-default.h +664 -0
  217. data/share/gccxml-0.9/GCC/3.4/gccxml_builtins.h +0 -0
  218. data/share/gccxml-0.9/GCC/4.0/gccxml_builtins.h +0 -0
  219. data/share/gccxml-0.9/GCC/4.1/bits/gthr-default.h +0 -0
  220. data/share/gccxml-0.9/GCC/4.1/gccxml_builtins.h +0 -0
  221. data/share/gccxml-0.9/GCC/4.2/gccxml_builtins.h +0 -0
  222. data/share/gccxml-0.9/GCC/4.3/gccxml_builtins.h +182 -0
  223. data/share/gccxml-0.9/IBM/8.0/adapt_headers.sh +34 -0
  224. data/share/gccxml-0.9/IBM/8.0/stdlib.h.patch +27 -0
  225. data/share/gccxml-0.9/IBM/8.0/xstring.patch +19 -0
  226. data/share/gccxml-0.9/IBM/README +8 -0
  227. data/share/gccxml-0.9/IBM/find_flags +51 -0
  228. data/share/gccxml-0.9/IBM/find_flags_common +48 -0
  229. data/share/gccxml-0.9/Intel/find_flags +1 -1
  230. data/share/gccxml-0.9/Intel/pthread.h +0 -0
  231. data/share/gccxml-0.9/MIPSpro/7.3/exception +0 -0
  232. data/share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h +0 -0
  233. data/share/gccxml-0.9/MIPSpro/7.3/iomanip +0 -0
  234. data/share/gccxml-0.9/MIPSpro/7.3/ostream +0 -0
  235. data/share/gccxml-0.9/MIPSpro/7.3/stddef.h +0 -0
  236. data/share/gccxml-0.9/MIPSpro/7.3/stl_config.h +0 -0
  237. data/share/gccxml-0.9/MIPSpro/7.3/stl_locale.h +0 -0
  238. data/share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h +0 -0
  239. data/share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h +0 -0
  240. data/share/gccxml-0.9/MIPSpro/7.3/stl_threads.h +0 -0
  241. data/share/gccxml-0.9/MIPSpro/7.3/string +0 -0
  242. data/share/gccxml-0.9/MIPSpro/find_flags +13 -80
  243. data/share/gccxml-0.9/MIPSpro/mipspro_defs.cxx +63 -0
  244. data/share/gccxml-0.9/Sun/5.8/{adaptation.patch → Cstd.patch} +96 -108
  245. data/share/gccxml-0.9/Sun/5.8/adapt_headers.sh +32 -0
  246. data/share/gccxml-0.9/Sun/5.8/std-5.10.patch +22 -0
  247. data/share/gccxml-0.9/Sun/README +4 -4
  248. data/share/gccxml-0.9/Sun/find_flags +20 -38
  249. data/share/gccxml-0.9/Sun/find_flags_common +42 -0
  250. data/share/gccxml-0.9/gccxml_config +1 -1
  251. data/share/gccxml-0.9/gccxml_identify_compiler.cc +13 -0
  252. data/share/man/man1/gccxml.1 +1 -1
  253. metadata +28 -42
  254. data/share/gccxml-0.9/GCC/find_flags +0 -105
  255. data/share/gccxml-0.9/Sun/adapt_headers.sh +0 -24
  256. data/share/gccxml-0.9/gccxml_find_flags +0 -93
@@ -1,105 +0,0 @@
1
- #!/bin/sh
2
- #=============================================================================
3
- #
4
- # Program: GCC-XML
5
- # Module: $RCSfile: find_flags,v $
6
- # Language: C++
7
- # Date: $Date: 2008-03-19 21:14:33 $
8
- # Version: $Revision: 1.21 $
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 GCC executable name.
20
- if test "x$1" = "x" ; then
21
- if test "x${CXX}" = "x" ; then
22
- CXX=gcc
23
- fi
24
- else
25
- CXX="$1"
26
- shift
27
- CXXFLAGS="$@"
28
- fi
29
-
30
- # Find the macro definition options.
31
- MACROS=`echo "" | ${CXX} -x c++ -E -dM ${CXXFLAGS} - 2>/dev/null |
32
- sed -n '
33
- /^#define / {s/#define \([A-Za-z_][A-Za-z0-9_()]*\) \(.*\)/-D\1='\''\2'\''/;p;}
34
- ' |
35
- awk '
36
- BEGIN { first=1 }
37
- /./ { if(first) { printf("%s", $0); first=0 } else { printf(" %s", $0) } }
38
- '`
39
-
40
- # Find the include path options.
41
- INCLUDES=`
42
- echo "" | ${CXX} -v -x c++ -E ${CXXFLAGS} - 2>&1 |
43
- awk '/^[^ \/].*$/ { if (f) { printf("\n"); exit } }
44
- /^[ ]*\/[^ ]*$/ { if (f) { printf("-I%s ",$0) } }
45
- /\#include <\.\.\..*$/ {f=1} ' - |
46
- sed 's/^-I /-I/;s/ -I / -I/g'
47
- `
48
-
49
- # The support headers are located where this script is.
50
- SELFPATH=`echo $0 | sed -n '/\//{s/\/find_flags//;p;}'`
51
- if test "x$SELFPATH" = "x" ; then SELFPATH="." ; fi
52
- SELFPATH=`cd "$SELFPATH" ; pwd`
53
-
54
- # Determine the major version number.
55
- MAJOR_VERSION=`
56
- echo "__GNUC__" | ${CXX} -v -x c++ -E ${CXXFLAGS} - 2>/dev/null |
57
- sed -n '/^[0-9]/{s/[^0-9]//g;p;}'`
58
-
59
- MINOR_VERSION=`
60
- echo "__GNUC_MINOR__" | ${CXX} -v -x c++ -E ${CXXFLAGS} - 2>/dev/null |
61
- sed -n '/^[0-9]/{s/[^0-9]//g;p;}'`
62
-
63
- # hack to handle bad gcc 4.0 on RedHat
64
- if [ "$MAJOR_VERSION" = 4 ]; then
65
- if echo "$INCLUDES" | grep "c++/3\.4" > /dev/null 2>&1; then
66
- MAJOR_VERSION=3
67
- MINOR_VERSION=4
68
- fi
69
- fi
70
-
71
- # For GCC versions before 3, some special options are needed.
72
- if [ "$MAJOR_VERSION" -lt 3 ]; then
73
- INCLUDES="-iwrapper\"$SELFPATH/2.95\" $INCLUDES"
74
- if [ "$MINOR_VERSION" = 96 ]; then
75
- INCLUDES="-iwrapper\"$SELFPATH/2.96\" $INCLUDES"
76
- fi
77
- elif [ "$MAJOR_VERSION" = 4 -a "$MINOR_VERSION" -ge 3 ]; then
78
- INCLUDES="-iwrapper\"$SELFPATH/4.3\" $INCLUDES"
79
- SPECIAL="-include \"gccxml_builtins.h\""
80
- elif [ "$MAJOR_VERSION" = 4 -a "$MINOR_VERSION" -ge 2 ]; then
81
- INCLUDES="-iwrapper\"$SELFPATH/4.2\" $INCLUDES"
82
- SPECIAL="-include \"gccxml_builtins.h\""
83
- elif [ "$MAJOR_VERSION" = 4 -a "$MINOR_VERSION" -ge 1 ]; then
84
- INCLUDES="-iwrapper\"$SELFPATH/4.1\" $INCLUDES"
85
- SPECIAL="-include \"gccxml_builtins.h\""
86
- elif [ "$MAJOR_VERSION" = 4 -a "$MINOR_VERSION" -ge 0 ]; then
87
- INCLUDES="-iwrapper\"$SELFPATH/4.0\" $INCLUDES"
88
- SPECIAL="-include \"gccxml_builtins.h\""
89
- elif [ "$MAJOR_VERSION" = 3 -a "$MINOR_VERSION" -ge 4 ]; then
90
- INCLUDES="-iwrapper\"$SELFPATH/3.4\" $INCLUDES"
91
- SPECIAL="-include \"gccxml_builtins.h\""
92
- elif [ "$MAJOR_VERSION" = 3 -a "$MINOR_VERSION" = 3 ]; then
93
- INCLUDES="-iwrapper\"$SELFPATH/3.3\" $INCLUDES"
94
- SPECIAL="-include \"gccxml_builtins.h\""
95
- elif [ "$MAJOR_VERSION" = 3 -a "$MINOR_VERSION" = 2 ]; then
96
- INCLUDES="-iwrapper\"$SELFPATH/3.2\" $INCLUDES"
97
- elif [ "$MAJOR_VERSION" = 3 -a "$MINOR_VERSION" = 1 ]; then
98
- INCLUDES="-iwrapper\"$SELFPATH/3.1\" $INCLUDES"
99
- elif [ "$MAJOR_VERSION" = 3 -a "$MINOR_VERSION" = 0 ]; then
100
- INCLUDES="-iwrapper\"$SELFPATH/3.0\" $INCLUDES"
101
- fi
102
-
103
- # Format and print out the options.
104
- OPTIONS="$MACROS $INCLUDES $SPECIAL"
105
- echo $OPTIONS
@@ -1,24 +0,0 @@
1
- #!/bin/sh
2
-
3
- INCLUDES=/usr/include
4
- CC_INCLUDES=`find_flags | perl -ne '($a) = m|-I([/a-zA-Z0-9_-]+/include/CC)|o ; print "$a\n" if $a'`
5
-
6
- cd 5.8
7
-
8
- cp $INCLUDES/math.h .
9
- cp $CC_INCLUDES/typeinfo .
10
- cp $CC_INCLUDES/Cstd/istream .
11
- cp $CC_INCLUDES/Cstd/streambuf .
12
- cp $CC_INCLUDES/Cstd/string .
13
-
14
- mkdir -p rw
15
- mkdir -p sys
16
- mkdir -p iso
17
-
18
- cp $CC_INCLUDES/Cstd/rw/iterator rw/iterator
19
- cp $INCLUDES/iso/stdio_iso.h iso
20
- cp $INCLUDES/iso/stdlib_iso.h iso
21
-
22
- cp $INCLUDES/sys/regset.h sys
23
-
24
- patch -p1 < adaptation.patch
@@ -1,93 +0,0 @@
1
- #!/bin/sh
2
- #=============================================================================
3
- #
4
- # Program: GCC-XML
5
- # Module: $RCSfile: gccxml_find_flags,v $
6
- # Language: C++
7
- # Date: $Date: 2007/11/28 19:52:06 $
8
- # Version: $Revision: 1.3 $
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$GCCXML_COMPILER" = "x"; then
22
- if test "x${CXX}" != "x" ; then
23
- GCCXML_COMPILER="${CXX}"
24
- else
25
- echo "Need to specify compiler name or set GCCXML_COMPILER or CXX."
26
- exit 1
27
- fi
28
- fi
29
- if test "x$GCCXML_CXXFLAGS" = "x"; then
30
- if test "x${CXXFLAGS}" != "x" ; then
31
- GCCXML_CXXFLAGS="${CXXFLAGS}"
32
- fi
33
- fi
34
- else
35
- GCCXML_COMPILER="$1"
36
- shift
37
- GCCXML_CXXFLAGS="$@"
38
- fi
39
-
40
- # Use the compiler's preprocessor to identify the compiler.
41
- GCCXML_PID="$$"
42
- cat > "/tmp/gccxml_identify_compiler$GCCXML_PID.cc" <<!
43
- #if defined(__GNUC__)
44
- GCCXML_SUPPORT="GCC"
45
- #elif defined(__sgi) && defined(_COMPILER_VERSION)
46
- GCCXML_SUPPORT="MIPSpro"
47
- #elif defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 700)
48
- GCCXML_SUPPORT="Intel"
49
- #elif defined(__SUNPRO_CC)
50
- GCCXML_SUPPORT="Sun"
51
- #else
52
- GCCXML_SUPPORT=""
53
- #endif
54
- !
55
-
56
- # Run the compiler's preprocessor on the above code to identify it.
57
- # (workaround for CC whitespace:)
58
- if (${GCCXML_COMPILER} ${GCCXML_CXXFLAGS} \
59
- -E "/tmp/gccxml_identify_compiler$GCCXML_PID.cc" \
60
- | sed -e 's/[ ^]//g' \
61
- > "/tmp/gccxml_identify_compiler$GCCXML_PID.pp";
62
- rm -f "/tmp/gccxml_identify_compiler$GCCXML_PID.cc"
63
- ) ; then : ; else
64
- echo "Error running \"${GCCXML_COMPILER} -E\""
65
- exit 1
66
- fi
67
-
68
- # Source the result to get the settings found.
69
- . "/tmp/gccxml_identify_compiler$GCCXML_PID.pp"
70
- rm -f "/tmp/gccxml_identify_compiler$GCCXML_PID.pp"
71
-
72
- # Check if a supported compiler was identified.
73
- if test "x$GCCXML_SUPPORT" = "x" ; then
74
- echo "Compiler \"${GCCXML_COMPILER}\" is not supported by GCC-XML."
75
- exit 1
76
- fi
77
-
78
- # The support directories are located near this script.
79
- SELFPATH=`cd "\`echo $0 | sed -n '/\//{s/\/[^\/]*$//;p;}'\`";pwd`
80
-
81
- # Find the compiler-specific support directory.
82
- if test -d "${SELFPATH}/${GCCXML_SUPPORT}" ; then
83
- GCCXML_SUPPORT_DIR="${SELFPATH}/${GCCXML_SUPPORT}"
84
- else
85
- echo "Cannot find GCC_XML compiler support directory ${GCCXML_SUPPORT}."
86
- exit 1
87
- fi
88
-
89
- # Run the compiler-specific flag finding script.
90
- GCCXML_FLAGS=`"${GCCXML_SUPPORT_DIR}/find_flags" ${GCCXML_COMPILER} ${GCCXML_CXXFLAGS}`
91
-
92
- # Display the output.
93
- echo ${GCCXML_FLAGS}