gccxml_gem 0.9.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +84 -0
- data/bin/gccxml.exe +0 -0
- data/bin/gccxml_cc1plus.exe +0 -0
- data/bin/gccxml_vcconfig.bat +52 -0
- data/bin/gccxml_vcconfig.exe +0 -0
- data/gccxml.rb +57 -0
- data/share/doc/gccxml-0.9/Copyright.txt +55 -0
- data/share/doc/gccxml-0.9/gccxml.html +168 -0
- data/share/doc/gccxml-0.9/gccxml.txt +293 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cfloat +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/climits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cmath +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/complex +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/complex.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstddef +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdio +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdlib +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ctime +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cwchar +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cwctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/deque +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/deque.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/exception +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/exception.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/function +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/function.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/functional +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/gccxml_typeinfo.h +146 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ios +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ios.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/istream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/istream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/limits +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/limits.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/list +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/list.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/locale +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/locale.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/map +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/map.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/memory +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/memory.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/new +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/new.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/queue +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/queue.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/codecvt +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/collate +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/ctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iosbase +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iotraits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iterator +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/lochelp +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locimpl +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locvector +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/messages +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/money +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numbrw +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numeral +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwdispatch.h +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwlocale +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwstderr_macros.h +64 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/string_ref +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/time +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/traits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/tree +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/usefacet +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/valimp +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/vendor +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/set +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/set.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stack +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stack.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/string +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/string.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/utility +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/utility.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/vector +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/vector.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/except.h +154 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_fstream.h +431 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_new.h +166 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_valarray.h +786 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_vector.h +1457 -0
- data/share/gccxml-0.9/Borland/5.5/io.h +352 -0
- data/share/gccxml-0.9/Borland/5.5/oaidl.h +7006 -0
- data/share/gccxml-0.9/Borland/5.5/propidl.h +1477 -0
- data/share/gccxml-0.9/Borland/5.5/rw/locimpl.h +477 -0
- data/share/gccxml-0.9/Borland/5.5/rw/rwlocale.h +619 -0
- data/share/gccxml-0.9/Borland/5.5/stdarg.h +55 -0
- data/share/gccxml-0.9/Borland/5.5/valarray.cc +2883 -0
- data/share/gccxml-0.9/GCC/2.95/algorithm +76 -0
- data/share/gccxml-0.9/GCC/2.95/bitset +17 -0
- data/share/gccxml-0.9/GCC/2.95/cctype +24 -0
- data/share/gccxml-0.9/GCC/2.95/clocale +14 -0
- data/share/gccxml-0.9/GCC/2.95/cmath +33 -0
- data/share/gccxml-0.9/GCC/2.95/complex +38 -0
- data/share/gccxml-0.9/GCC/2.95/csetjmp +13 -0
- data/share/gccxml-0.9/GCC/2.95/csignal +14 -0
- data/share/gccxml-0.9/GCC/2.95/cstdarg +12 -0
- data/share/gccxml-0.9/GCC/2.95/cstddef +13 -0
- data/share/gccxml-0.9/GCC/2.95/cstdio +55 -0
- data/share/gccxml-0.9/GCC/2.95/cstdlib +66 -0
- data/share/gccxml-0.9/GCC/2.95/cstring +34 -0
- data/share/gccxml-0.9/GCC/2.95/ctime +24 -0
- data/share/gccxml-0.9/GCC/2.95/cwchar +65 -0
- data/share/gccxml-0.9/GCC/2.95/cwctype +31 -0
- data/share/gccxml-0.9/GCC/2.95/deque +19 -0
- data/share/gccxml-0.9/GCC/2.95/exception +20 -0
- data/share/gccxml-0.9/GCC/2.95/fstream +23 -0
- data/share/gccxml-0.9/GCC/2.95/functional +64 -0
- data/share/gccxml-0.9/GCC/2.95/gccxml_bitset +1066 -0
- data/share/gccxml-0.9/GCC/2.95/iomanip +20 -0
- data/share/gccxml-0.9/GCC/2.95/iosfwd +20 -0
- data/share/gccxml-0.9/GCC/2.95/iostream +27 -0
- data/share/gccxml-0.9/GCC/2.95/iterator +39 -0
- data/share/gccxml-0.9/GCC/2.95/list +19 -0
- data/share/gccxml-0.9/GCC/2.95/map +20 -0
- data/share/gccxml-0.9/GCC/2.95/memory +21 -0
- data/share/gccxml-0.9/GCC/2.95/new +13 -0
- data/share/gccxml-0.9/GCC/2.95/numeric +15 -0
- data/share/gccxml-0.9/GCC/2.95/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/2.95/queue +20 -0
- data/share/gccxml-0.9/GCC/2.95/set +20 -0
- data/share/gccxml-0.9/GCC/2.95/sstream +24 -0
- data/share/gccxml-0.9/GCC/2.95/stack +19 -0
- data/share/gccxml-0.9/GCC/2.95/std/bastring.cc +524 -0
- data/share/gccxml-0.9/GCC/2.95/std/complext.h +397 -0
- data/share/gccxml-0.9/GCC/2.95/std/dcomplex.h +92 -0
- data/share/gccxml-0.9/GCC/2.95/std/fcomplex.h +88 -0
- data/share/gccxml-0.9/GCC/2.95/std/gslice_array.h +170 -0
- data/share/gccxml-0.9/GCC/2.95/std/indirect_array.h +157 -0
- data/share/gccxml-0.9/GCC/2.95/std/ldcomplex.h +96 -0
- data/share/gccxml-0.9/GCC/2.95/std/mask_array.h +154 -0
- data/share/gccxml-0.9/GCC/2.95/std/slice_array.h +156 -0
- data/share/gccxml-0.9/GCC/2.95/std/std_valarray.h +728 -0
- data/share/gccxml-0.9/GCC/2.95/std/straits.h +162 -0
- data/share/gccxml-0.9/GCC/2.95/std/valarray_meta.h +1035 -0
- data/share/gccxml-0.9/GCC/2.95/stdexcept +17 -0
- data/share/gccxml-0.9/GCC/2.95/stl_alloc.h +1057 -0
- data/share/gccxml-0.9/GCC/2.95/stl_bvector.h +836 -0
- data/share/gccxml-0.9/GCC/2.95/stl_deque.h +1699 -0
- data/share/gccxml-0.9/GCC/2.95/stl_list.h +843 -0
- data/share/gccxml-0.9/GCC/2.95/stl_tree.h +1331 -0
- data/share/gccxml-0.9/GCC/2.95/stl_vector.h +828 -0
- data/share/gccxml-0.9/GCC/2.95/string +26 -0
- data/share/gccxml-0.9/GCC/2.95/strstream +23 -0
- data/share/gccxml-0.9/GCC/2.95/typeinfo +11 -0
- data/share/gccxml-0.9/GCC/2.95/utility +25 -0
- data/share/gccxml-0.9/GCC/2.95/valarray +52 -0
- data/share/gccxml-0.9/GCC/2.95/vector +19 -0
- data/share/gccxml-0.9/GCC/2.96/sstream +305 -0
- data/share/gccxml-0.9/GCC/3.0/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.1/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.2/bits/fstream.tcc +500 -0
- data/share/gccxml-0.9/GCC/3.2/bits/gthr-default.h +581 -0
- data/share/gccxml-0.9/GCC/3.2/bits/istream.tcc +1207 -0
- data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.h +1810 -0
- data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc +2397 -0
- data/share/gccxml-0.9/GCC/3.2/bits/messages_members.h +108 -0
- data/share/gccxml-0.9/GCC/3.2/bits/ostream.tcc +713 -0
- data/share/gccxml-0.9/GCC/3.2/bits/sstream.tcc +241 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_deque.h +1682 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_list.h +989 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_tree.h +1462 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_vector.h +1085 -0
- data/share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h +1063 -0
- data/share/gccxml-0.9/GCC/3.2/fstream +579 -0
- data/share/gccxml-0.9/GCC/3.2/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.2/sstream +384 -0
- data/share/gccxml-0.9/GCC/3.3/bits/fstream.tcc +530 -0
- data/share/gccxml-0.9/GCC/3.3/bits/list.tcc +378 -0
- data/share/gccxml-0.9/GCC/3.3/bits/locale_facets.h +2050 -0
- data/share/gccxml-0.9/GCC/3.3/bits/messages_members.h +108 -0
- data/share/gccxml-0.9/GCC/3.3/bits/sstream.tcc +243 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_deque.h +1603 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_list.h +1167 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_tree.h +1462 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_vector.h +992 -0
- data/share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h +1135 -0
- data/share/gccxml-0.9/GCC/3.3/fstream +842 -0
- data/share/gccxml-0.9/GCC/3.3/gccxml_builtins.h +22 -0
- data/share/gccxml-0.9/GCC/3.3/sstream +638 -0
- data/share/gccxml-0.9/GCC/3.4/bits/gthr-default.h +664 -0
- data/share/gccxml-0.9/GCC/3.4/gccxml_builtins.h +91 -0
- data/share/gccxml-0.9/GCC/4.0/gccxml_builtins.h +128 -0
- data/share/gccxml-0.9/GCC/4.1/bits/gthr-default.h +618 -0
- data/share/gccxml-0.9/GCC/4.1/gccxml_builtins.h +131 -0
- data/share/gccxml-0.9/GCC/4.2/gccxml_builtins.h +131 -0
- data/share/gccxml-0.9/GCC/4.3/gccxml_builtins.h +182 -0
- data/share/gccxml-0.9/IBM/8.0/adapt_headers.sh +34 -0
- data/share/gccxml-0.9/IBM/8.0/stdlib.h.patch +27 -0
- data/share/gccxml-0.9/IBM/8.0/xstring.patch +19 -0
- data/share/gccxml-0.9/IBM/README +8 -0
- data/share/gccxml-0.9/IBM/find_flags +51 -0
- data/share/gccxml-0.9/IBM/find_flags_common +48 -0
- data/share/gccxml-0.9/Intel/find_flags +56 -0
- data/share/gccxml-0.9/Intel/pthread.h +16 -0
- data/share/gccxml-0.9/MIPSpro/7.3/exception +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h +21 -0
- data/share/gccxml-0.9/MIPSpro/7.3/iomanip +161 -0
- data/share/gccxml-0.9/MIPSpro/7.3/ostream +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stddef.h +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_config.h +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_locale.h +17 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h +14 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h +13 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_threads.h +11 -0
- data/share/gccxml-0.9/MIPSpro/7.3/string +18 -0
- data/share/gccxml-0.9/MIPSpro/find_flags +70 -0
- data/share/gccxml-0.9/MIPSpro/mipspro_defs.cxx +63 -0
- data/share/gccxml-0.9/Sun/5.8/Cstd.patch +156 -0
- data/share/gccxml-0.9/Sun/5.8/adapt_headers.sh +32 -0
- data/share/gccxml-0.9/Sun/5.8/std-5.10.patch +22 -0
- data/share/gccxml-0.9/Sun/README +8 -0
- data/share/gccxml-0.9/Sun/find_flags +51 -0
- data/share/gccxml-0.9/Sun/find_flags_common +42 -0
- data/share/gccxml-0.9/VcInstall/vc6Include.patch +4560 -0
- data/share/gccxml-0.9/VcInstall/vc71Include.patch +921 -0
- data/share/gccxml-0.9/VcInstall/vc71PlatformSDK.patch +146 -0
- data/share/gccxml-0.9/VcInstall/vc7Include.patch +1139 -0
- data/share/gccxml-0.9/VcInstall/vc7PlatformSDK.patch +146 -0
- data/share/gccxml-0.9/VcInstall/vc8ExpressInclude.patch +1887 -0
- data/share/gccxml-0.9/VcInstall/vc8ExpressPlatformSDK.patch +252 -0
- data/share/gccxml-0.9/VcInstall/vc8Include.patch +1887 -0
- data/share/gccxml-0.9/VcInstall/vc8PlatformSDK.patch +252 -0
- data/share/gccxml-0.9/VcInstall/vc8sp1ExpressInclude.patch +1941 -0
- data/share/gccxml-0.9/VcInstall/vc8sp1Include.patch +1970 -0
- data/share/gccxml-0.9/VcInstall/vc8sp1PlatformSDK.patch +252 -0
- data/share/gccxml-0.9/VcInstall/vc9Include.patch +2047 -0
- data/share/gccxml-0.9/VcInstall/vc9PlatformSDK.patch +383 -0
- data/share/gccxml-0.9/VcInstall/vc9sp1Include.patch +2565 -0
- data/share/gccxml-0.9/VcInstall/vcCat.exe +0 -0
- data/share/gccxml-0.9/VcInstall/vcCat.readme.txt +3 -0
- data/share/gccxml-0.9/VcInstall/vcPatch.exe +0 -0
- data/share/gccxml-0.9/VcInstall/vcPatch.readme.txt +27 -0
- data/share/gccxml-0.9/VcInstall/vc_helper +1 -0
- data/share/gccxml-0.9/gccxml_config +2 -0
- data/share/gccxml-0.9/gccxml_identify_compiler.cc +13 -0
- data/share/man/man1/gccxml.1 +246 -0
- metadata +331 -0
@@ -0,0 +1,293 @@
|
|
1
|
+
Usage:
|
2
|
+
|
3
|
+
gccxml [options] <input-file> -fxml=<output-file>
|
4
|
+
|
5
|
+
GCC-XML parses a C++ source file as it is seen by the compiler when it is
|
6
|
+
built. An easy-to-parse XML representation of the class, function, and
|
7
|
+
namespace declarations is dumped to a specified file. Full C preprocessing
|
8
|
+
transforms the file into a C++ translation unit as seen by the compiler.
|
9
|
+
This means that GCC-XML should make use of the same standard library and
|
10
|
+
other header files as the compiler. GCC-XML can be configured to simulate
|
11
|
+
any of several popular compilers.
|
12
|
+
|
13
|
+
----------------------------------------------------------
|
14
|
+
The following options are available for running GCC-XML:
|
15
|
+
|
16
|
+
--copyright
|
17
|
+
Print the GCC-XML copyright and exit.
|
18
|
+
|
19
|
+
--debug
|
20
|
+
Print extra debugging information.
|
21
|
+
This option causes GCC-XML to print the executable name and
|
22
|
+
command-line arguments used to execute the patched GCC C++ parser.
|
23
|
+
This is useful when attempting to simulate an unsupported compiler.
|
24
|
+
|
25
|
+
-fxml=<output-file>
|
26
|
+
Specify the XML output file.
|
27
|
+
This option is passed directly on to the patched GCC C++ parser. It
|
28
|
+
enables the XML dump and specifies the output file name.
|
29
|
+
|
30
|
+
-fxml-start=<xxx>[,...]
|
31
|
+
Specify a list of starting declarations.
|
32
|
+
This option is passed directly on to the patched GCC C++ parser. It
|
33
|
+
is meaningful only if -fxml= is also specified. This specifies a
|
34
|
+
comma-separated list of named starting declarations. GCC-XML will
|
35
|
+
dump only the subset of the declarations in the translation unit that
|
36
|
+
is reachable through a sequence of source references from one of the
|
37
|
+
specified starting declarations.
|
38
|
+
|
39
|
+
--gccxml-compiler <xxx>
|
40
|
+
Set GCCXML_COMPILER to "xxx".
|
41
|
+
|
42
|
+
--gccxml-cxxflags <xxx>
|
43
|
+
Set GCCXML_CXXFLAGS to "xxx".
|
44
|
+
|
45
|
+
--gccxml-executable <xxx>
|
46
|
+
Set GCCXML_EXECUTABLE to "xxx".
|
47
|
+
|
48
|
+
--gccxml-cpp <xxx>
|
49
|
+
Set GCCXML_CPP to "xxx".
|
50
|
+
|
51
|
+
--gccxml-config <xxx>
|
52
|
+
Set GCCXML_CONFIG to "xxx".
|
53
|
+
|
54
|
+
--gccxml-root <xxx>
|
55
|
+
Set GCCXML_ROOT to "xxx".
|
56
|
+
|
57
|
+
--gccxml-gcc-options <xxx>
|
58
|
+
Read GCC options from file "xxx".
|
59
|
+
This option specifies a file from which to read options to pass to the
|
60
|
+
patched GCC C++ parser. This is useful for specifying a long list of
|
61
|
+
include directories. Each line in the file becomes one option. Empty
|
62
|
+
lines and lines beginning in '#' are ignored.
|
63
|
+
|
64
|
+
--help
|
65
|
+
Print full help and exit.
|
66
|
+
Full help displays most of the documentation provided by the UNIX man
|
67
|
+
page. It is provided for use on non-UNIX platforms, but is also
|
68
|
+
convenient if the man page is not installed.
|
69
|
+
|
70
|
+
--help-html
|
71
|
+
Print full help in HTML format.
|
72
|
+
This option is used by GCC-XML authors to help produce web pages.
|
73
|
+
|
74
|
+
--man
|
75
|
+
Print a UNIX man page and exit.
|
76
|
+
This option is used by GCC-XML authors to generate the UNIX man page.
|
77
|
+
|
78
|
+
--print
|
79
|
+
Print configuration settings and exit.
|
80
|
+
GCC-XML has many configuration options to help it simulate another
|
81
|
+
compiler. Using this option will cause GCC-XML to configure itself as
|
82
|
+
if it were going to parse the C++ source, but stop and print the
|
83
|
+
configuration found. This is useful for checking the configuration.
|
84
|
+
|
85
|
+
--preprocess
|
86
|
+
Preprocess the input and exit.
|
87
|
+
GCC-XML simulates the proprocessor of another compiler. Using this
|
88
|
+
option will cause GCC-XML to configure itself as if it were going to
|
89
|
+
parse the C++ source, but stop after preprocessing. This is useful
|
90
|
+
for debugging problems related to simulation of the other compiler.
|
91
|
+
|
92
|
+
-E
|
93
|
+
Alias for --preprocess.
|
94
|
+
|
95
|
+
--version
|
96
|
+
Show program name/version banner and exit.
|
97
|
+
|
98
|
+
Other flags, such as -I and -D, are passed on to the patched GCC C++ parser
|
99
|
+
executable.
|
100
|
+
|
101
|
+
----------------------------------------------------------
|
102
|
+
GCC-XML is designed to simulate a compiler's parser while reading C++ source
|
103
|
+
code. Some configuration settings are needed to determine how to simulate a
|
104
|
+
particular compiler of the user's choice. The following settings can be used
|
105
|
+
to configure GCC-XML:
|
106
|
+
|
107
|
+
GCCXML_COMPILER
|
108
|
+
The C++ compiler to be simulated.
|
109
|
+
GCC-XML will attempt to automatically determine how to simulate the
|
110
|
+
compiler specified by this setting. The compiler is specified by its
|
111
|
+
executable name (such as "g++"). For Visual Studio, the compiler is
|
112
|
+
specified by "msvc6", "msvc7", "msvc71", or "msvc8" (if "cl" is given,
|
113
|
+
GCC-XML attempts to guess which VS to use).
|
114
|
+
|
115
|
+
GCCXML_CXXFLAGS
|
116
|
+
The flags for the C++ compiler to be simulated.
|
117
|
+
The behavior of most compilers can be adjusted by specifying flags on
|
118
|
+
the command line. When GCC-XML attempts to automatically determine
|
119
|
+
how to simulate a compiler, these flags are taken into consideration.
|
120
|
+
|
121
|
+
GCCXML_CONFIG
|
122
|
+
The configuration file for common settings.
|
123
|
+
When non-default settings are often used, it is convenient to write a
|
124
|
+
single file containing them. When such a file is specified, it will
|
125
|
+
be read to configure any settings that are not yet known. Each line
|
126
|
+
of the file consists of one assignment of the form KEY="VALUE" (for
|
127
|
+
example, GCCXML_COMPILER="g++").
|
128
|
+
|
129
|
+
GCCXML_EXECUTABLE
|
130
|
+
Specify the patched GCC C++ parser executable.
|
131
|
+
The GCC-XML program as seen by the user is actually a front-end that
|
132
|
+
determines the flags needed to configure the patched GCC C++ parser to
|
133
|
+
simulate another compiler. This setting specifies the real executable
|
134
|
+
to run once the flags have been determined. Users should rarely need
|
135
|
+
to change this value from its default.
|
136
|
+
|
137
|
+
GCCXML_CPP
|
138
|
+
Specify the GCC C preprocessor executable.
|
139
|
+
The GCC-XML program as seen by the user is actually a front-end that
|
140
|
+
determines the flags needed to configure the patched GCC C++ parser to
|
141
|
+
simulate another compiler. This setting specifies the preprocessor to
|
142
|
+
run with the flags that have been determined for debugging purposes.
|
143
|
+
Users should rarely need to change this value from its default.
|
144
|
+
|
145
|
+
GCCXML_ROOT
|
146
|
+
The GCC-XML support library directory.
|
147
|
+
Since GCC-XML is only one C++ parser, it cannot exactly duplicate the
|
148
|
+
functionality of every compiler it tries to simulate. Some compilers
|
149
|
+
provide standard headers with code that GCC-XML cannot directly
|
150
|
+
handle. To work around this limitation, a support library is provided
|
151
|
+
for each compiler. This consists of a set of header files that are
|
152
|
+
used in place of the compiler's system headers. These files contain
|
153
|
+
slight tweaks and then include the corresponding real header. The
|
154
|
+
root of the directory tree containing these support library headers is
|
155
|
+
specified by this setting. Users should rarely need to change this
|
156
|
+
value from its default.
|
157
|
+
|
158
|
+
GCCXML_FLAGS
|
159
|
+
Flags used to simulate the other compiler.
|
160
|
+
When GCC-XML runs the patched GCC C++ parser, these flags are passed
|
161
|
+
to the program to tell it how to simulate a particular compiler. This
|
162
|
+
setting is usually detected automatically from the other settings, but
|
163
|
+
it can be specified directly by advanced users. Most users should not
|
164
|
+
attempt to change this value from the automatic configuration.
|
165
|
+
|
166
|
+
GCCXML_USER_FLAGS
|
167
|
+
Additional user flags for compiler simulation.
|
168
|
+
When GCC-XML runs the patched GCC C++ parser, these flags are passed
|
169
|
+
in addition to those specified by GCCXML_FLAGS. This allows advanced
|
170
|
+
users to tweak the compiler simulation while still using the automatic
|
171
|
+
configuration of GCCXML_FLAGS. Users should rarely need to change
|
172
|
+
this value from its default.
|
173
|
+
|
174
|
+
There are several means by which these settings are configured. They are
|
175
|
+
listed here in order of precedence (highest first):
|
176
|
+
|
177
|
+
Command-line Options
|
178
|
+
Settings can be specified by their corresponding options.
|
179
|
+
When a setting's corresponding command-line option is provided, it is
|
180
|
+
used in favor over any other means of configuration. If GCCXML_CONFIG
|
181
|
+
is set on the command-line, settings are read from the file with
|
182
|
+
precedence just slightly lower than other command-line options.
|
183
|
+
|
184
|
+
Environment Variables
|
185
|
+
Settings are configured by name in the environment.
|
186
|
+
Each setting not already known is read from an environment variable
|
187
|
+
with its name. If GCCXML_CONFIG is set by the environment, settings
|
188
|
+
are read from the file with precedence just slightly lower than other
|
189
|
+
environment variables.
|
190
|
+
|
191
|
+
Configuration Files
|
192
|
+
A search for GCCXML_CONFIG is performed.
|
193
|
+
If GCCXML_CONFIG has not yet been set, an attempt is made to find a
|
194
|
+
configuration file automatically. First, if the file
|
195
|
+
$HOME/.gccxml/config exists, it will be used. Second, if GCC-XML is
|
196
|
+
being executed from its build directory, a config file from that
|
197
|
+
directory will be used. Finally, if a config file is found in the
|
198
|
+
installation's support library directory, it will be used. Once
|
199
|
+
found, any unknown settings are read from the configuration file.
|
200
|
+
|
201
|
+
Guessing
|
202
|
+
Guesses are made based on other settings.
|
203
|
+
Once GCCXML_COMPILER has been set, it is used to automatically find
|
204
|
+
the setting for GCCXML_FLAGS. If it is not set, the "CXX" environment
|
205
|
+
variable is checked as a last-resort to find the compiler setting and
|
206
|
+
determine GCCXML_FLAGS.
|
207
|
+
|
208
|
+
Most users should not have to adjust the defaults for these settings. There
|
209
|
+
is a default GCCXML_CONFIG file provided in the support library directory
|
210
|
+
after installation. It configures GCC-XML to simulate the compiler that was
|
211
|
+
used to build it.
|
212
|
+
|
213
|
+
----------------------------------------------------------
|
214
|
+
GCC-XML can simulate any of the following compilers:
|
215
|
+
|
216
|
+
GCC
|
217
|
+
Versions 4.2, 4.1, 4.0, 3.4, 3.3, 3.2, 2.95.x
|
218
|
+
|
219
|
+
Visual C++
|
220
|
+
Versions 8, 7.1, 7.0, and 6 (sp5)
|
221
|
+
|
222
|
+
Borland, Intel, SGI
|
223
|
+
formerly supported but no longer tested
|
224
|
+
|
225
|
+
The following extra C preprocessor definitions are provided:
|
226
|
+
|
227
|
+
-D__GCCXML__=MMmmpp
|
228
|
+
MM, mm, and pp are the major, minor, and patch versions of GCC-XML.
|
229
|
+
This preprocessor symbol identifies GCC-XML to the source code as it
|
230
|
+
is preprocessed. It can be used to enable GCC-XML-specific
|
231
|
+
information.
|
232
|
+
|
233
|
+
-D__GCCXML_GNUC__=M
|
234
|
+
Defined to internal GCC parser major version.
|
235
|
+
|
236
|
+
-D__GCCXML_GNUC_MINOR__=m
|
237
|
+
Defined to internal GCC parser minor version.
|
238
|
+
|
239
|
+
-D__GCCXML_GNUC_PATCHLEVEL__=p
|
240
|
+
Defined to internal GCC parser patchlevel.
|
241
|
+
|
242
|
+
Advanced users can simulate other compilers by manually configuring the
|
243
|
+
GCCXML_FLAGS setting. Contact the mailing list for help.
|
244
|
+
|
245
|
+
----------------------------------------------------------
|
246
|
+
GCC-XML has added a new attribute to the legal set of C/C++ attributes. The
|
247
|
+
attribute is used to attach meta information to C/C++ source code, which will
|
248
|
+
then appear in the XML output. The syntax for declaring an attribute is as
|
249
|
+
follows:
|
250
|
+
|
251
|
+
__attribute((gccxml(<string>, <string>, ...)))
|
252
|
+
Here <string> is a quoted string. There must be at least one argument
|
253
|
+
to the 'gccxml' attribute, but there is no upper limit to the total
|
254
|
+
number of arguments. Each argument is verified to be a string - if a
|
255
|
+
non-string argument is found, the attribute is ignored.
|
256
|
+
|
257
|
+
The XML output for the code element that is tagged with the attribute will
|
258
|
+
then contain the following:
|
259
|
+
|
260
|
+
attributes=" ... gccxml(<string>,<string>,<string> ...) ... "
|
261
|
+
The 'attributes' XML attribute contains all attributes applied to the
|
262
|
+
code element. Each argument of the attribute is printed without
|
263
|
+
enclosing quotes, so if an argument contains the ',' character, the
|
264
|
+
argument will appear to be multiple arguments.
|
265
|
+
|
266
|
+
The 'gccxml' attribute can be applied to any declaration including structs,
|
267
|
+
classes, fields, parameters, methods, functions, variables, and typedefs.
|
268
|
+
The only exception is that GCC's handling of the '__attribute' language
|
269
|
+
element is currently broken for enumerations and constructors with an inlined
|
270
|
+
body. The 'gccxml' attribute can be used any number of times on a given
|
271
|
+
declaration.
|
272
|
+
|
273
|
+
As an example of how this attribute can be used to attach meta information to
|
274
|
+
C++ declarations, consider the following macro:
|
275
|
+
|
276
|
+
#define _out_ __attribute((gccxml("out")))
|
277
|
+
Here '_out_' has been defined to be the gccxml attribute where the
|
278
|
+
first argument is the string "out". It is recommended that the first
|
279
|
+
argument be used as a unique string name for the type of meta
|
280
|
+
information begin applied.
|
281
|
+
|
282
|
+
Now a method declaration can be written as follows:
|
283
|
+
|
284
|
+
void getInteger(_out_ int& i);
|
285
|
+
This will cause the XML output to contain meta information for the
|
286
|
+
'_out_' attribute, in the form "gccxml(out)".
|
287
|
+
|
288
|
+
Using the 'gccxml' attribute enables meta information to be included directly
|
289
|
+
within C++ source code, without the need for a custom parser to extract the
|
290
|
+
meta information. The 'gccxml' attribute is provided for convenience only -
|
291
|
+
there is no guarantee that future versions of GCC will accept the
|
292
|
+
'__attribute' language element in a bug-free manner.
|
293
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
#include_next <cctype.h>
|
@@ -0,0 +1 @@
|
|
1
|
+
#include_next <cfloat.h>
|
@@ -0,0 +1 @@
|
|
1
|
+
#include_next <climits.h>
|
@@ -0,0 +1 @@
|
|
1
|
+
#include_next <cmath.h>
|
@@ -0,0 +1 @@
|
|
1
|
+
#include_next <cstddef.h>
|
@@ -0,0 +1 @@
|
|
1
|
+
#include_next <cstdio.h>
|
@@ -0,0 +1 @@
|
|
1
|
+
#include_next <cstdlib.h>
|
@@ -0,0 +1 @@
|
|
1
|
+
#include_next <ctime.h>
|
@@ -0,0 +1 @@
|
|
1
|
+
#include_next <cwchar.h>
|
@@ -0,0 +1 @@
|
|
1
|
+
#include_next <cwctype.h>
|
@@ -0,0 +1,146 @@
|
|
1
|
+
/* typeinfo.h
|
2
|
+
|
3
|
+
Definitions for RTTI
|
4
|
+
*/
|
5
|
+
|
6
|
+
/*
|
7
|
+
* C/C++ Run Time Library - Version 10.0
|
8
|
+
*
|
9
|
+
* Copyright (c) 1993, 2000 by Inprise Corporation
|
10
|
+
* All Rights Reserved.
|
11
|
+
*
|
12
|
+
*/
|
13
|
+
|
14
|
+
/* $Revision: 1.1 $ */
|
15
|
+
|
16
|
+
#if !defined(__cplusplus)
|
17
|
+
#error Must use C++ for typeinfo.h
|
18
|
+
#endif
|
19
|
+
|
20
|
+
#ifndef __TYPEINFO_H
|
21
|
+
#define __TYPEINFO_H
|
22
|
+
|
23
|
+
#ifndef ___STDDEF_H
|
24
|
+
#include <_stddef.h>
|
25
|
+
#endif
|
26
|
+
|
27
|
+
#if !defined(RC_INVOKED)
|
28
|
+
|
29
|
+
#if defined(__STDC__)
|
30
|
+
#pragma warn -nak
|
31
|
+
#endif
|
32
|
+
|
33
|
+
#pragma option -Vt- // make sure vtable pointer is 'low'
|
34
|
+
#pragma option -RT
|
35
|
+
|
36
|
+
#endif /* !RC_INVOKED */
|
37
|
+
|
38
|
+
typedef struct
|
39
|
+
{
|
40
|
+
unsigned long Data1;
|
41
|
+
unsigned short Data2;
|
42
|
+
unsigned short Data3;
|
43
|
+
unsigned char Data4[ 8 ];
|
44
|
+
} _BORGUID;
|
45
|
+
|
46
|
+
#if defined(_BUILDRTLDLL) || defined(_RTLDLL)
|
47
|
+
# define _TIDIST _EXPCLASS
|
48
|
+
#else
|
49
|
+
# define _TIDIST
|
50
|
+
#endif
|
51
|
+
|
52
|
+
class tpid;
|
53
|
+
|
54
|
+
namespace std {
|
55
|
+
|
56
|
+
class _TIDIST __rtti type_info
|
57
|
+
{
|
58
|
+
|
59
|
+
public:
|
60
|
+
|
61
|
+
tpid * tpp;
|
62
|
+
|
63
|
+
private:
|
64
|
+
type_info(const type_info &);
|
65
|
+
type_info & __cdecl operator=(const type_info &);
|
66
|
+
|
67
|
+
public:
|
68
|
+
virtual __cdecl ~type_info();
|
69
|
+
|
70
|
+
bool __cdecl operator==(const type_info &) const;
|
71
|
+
bool __cdecl operator!=(const type_info &) const;
|
72
|
+
|
73
|
+
bool __cdecl before(const type_info &) const;
|
74
|
+
|
75
|
+
const char *__cdecl name() const;
|
76
|
+
|
77
|
+
/* Extra Borland specific member functions and types. This is for
|
78
|
+
dynamic GUID translation and casting.
|
79
|
+
*/
|
80
|
+
void * __cdecl _internal_rtti_cast(void *srcObj, const type_info *srcType) const;
|
81
|
+
|
82
|
+
template <class _SrcType>
|
83
|
+
void * __cdecl _rtti_cast(_SrcType *_src) const
|
84
|
+
{
|
85
|
+
// do the typeid() inline so the compiler will flag an error
|
86
|
+
// if the _SrcType doesn't support rtti.
|
87
|
+
return _internal_rtti_cast(_src, (const type_info*)& typeid(_SrcType));
|
88
|
+
}
|
89
|
+
const _BORGUID *__cdecl _guid() const;
|
90
|
+
|
91
|
+
struct _base_info
|
92
|
+
{
|
93
|
+
type_info *_type;
|
94
|
+
void *_cookie;
|
95
|
+
};
|
96
|
+
|
97
|
+
struct _vbase_info : public _base_info
|
98
|
+
{
|
99
|
+
bool _indirect();
|
100
|
+
};
|
101
|
+
|
102
|
+
type_info const *_first_base(_base_info &) const;
|
103
|
+
type_info const *_next_base(_base_info &) const;
|
104
|
+
type_info const *_first_vbase(_vbase_info &) const;
|
105
|
+
type_info const *_next_vbase(_vbase_info &_vb) const
|
106
|
+
{
|
107
|
+
return _next_base(_vb);
|
108
|
+
}
|
109
|
+
|
110
|
+
protected:
|
111
|
+
type_info(tpid *_tpp) { tpp = _tpp; }
|
112
|
+
};
|
113
|
+
|
114
|
+
class bad_cast{};
|
115
|
+
class bad_typeid{};
|
116
|
+
} // std
|
117
|
+
|
118
|
+
#if !defined(__STDC__)
|
119
|
+
// The following are for backwards compatibility.
|
120
|
+
typedef std::type_info typeinfo;
|
121
|
+
typedef std::type_info Type_info;
|
122
|
+
typedef std::bad_cast Bad_cast;
|
123
|
+
typedef std::bad_typeid Bad_typeid;
|
124
|
+
|
125
|
+
#pragma obsolete typeinfo
|
126
|
+
#pragma obsolete Type_info
|
127
|
+
#pragma obsolete Bad_cast
|
128
|
+
#pragma obsolete Bad_typeid
|
129
|
+
#endif
|
130
|
+
|
131
|
+
#if !defined(RC_INVOKED)
|
132
|
+
|
133
|
+
#pragma option -RT.
|
134
|
+
#pragma option -Vt.
|
135
|
+
|
136
|
+
#if defined(__STDC__)
|
137
|
+
#pragma warn .nak
|
138
|
+
#endif
|
139
|
+
|
140
|
+
#endif /* !RC_INVOKED */
|
141
|
+
|
142
|
+
#ifndef __USING_STD_NAMES__
|
143
|
+
using namespace std;
|
144
|
+
#endif
|
145
|
+
|
146
|
+
#endif
|