gccxml_gem 0.9.1-x86-linux → 0.9.2-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/bin/gccxml +0 -0
- data/bin/gccxml_cc1plus +0 -0
- data/gccxml.rb +1 -1
- data/share/gccxml-0.9/GCC/3.2/bits/gthr-default.h +581 -0
- data/share/gccxml-0.9/GCC/3.4/bits/gthr-default.h +664 -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 +1 -1
- data/share/gccxml-0.9/MIPSpro/find_flags +13 -80
- data/share/gccxml-0.9/MIPSpro/mipspro_defs.cxx +63 -0
- data/share/gccxml-0.9/Sun/5.8/{adaptation.patch → Cstd.patch} +96 -108
- 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 +4 -4
- data/share/gccxml-0.9/Sun/find_flags +20 -38
- data/share/gccxml-0.9/Sun/find_flags_common +42 -0
- data/share/gccxml-0.9/gccxml_config +1 -1
- data/share/gccxml-0.9/gccxml_identify_compiler.cc +13 -0
- data/share/man/man1/gccxml.1 +1 -1
- metadata +128 -138
- data/share/gccxml-0.9/GCC/find_flags +0 -105
- data/share/gccxml-0.9/Sun/adapt_headers.sh +0 -24
- data/share/gccxml-0.9/gccxml_find_flags +0 -93
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gccxml_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: x86-linux
|
6
6
|
authors:
|
7
7
|
- Jason Roelofs
|
@@ -9,11 +9,15 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-10-11 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
|
-
description:
|
16
|
+
description: |
|
17
|
+
Because GCCXML is difficult to install on all platforms,
|
18
|
+
this binary gem is provided for ease of installing
|
19
|
+
and using RbGCCXML.
|
20
|
+
|
17
21
|
email: jameskilton@gmail.com
|
18
22
|
executables: []
|
19
23
|
|
@@ -26,156 +30,142 @@ files:
|
|
26
30
|
- gccxml.rb
|
27
31
|
- bin/gccxml_cc1plus
|
28
32
|
- bin/gccxml
|
29
|
-
- share/
|
30
|
-
- share/
|
31
|
-
- share/
|
32
|
-
- share/
|
33
|
-
- share/
|
34
|
-
- share/
|
35
|
-
- share/
|
36
|
-
- share/
|
37
|
-
- share/gccxml-0.9
|
38
|
-
- share/gccxml-0.9/GCC
|
39
|
-
- share/gccxml-0.9/GCC/
|
40
|
-
- share/gccxml-0.9/GCC/
|
41
|
-
- share/gccxml-0.9/GCC/
|
42
|
-
- share/gccxml-0.9/GCC/
|
43
|
-
- share/gccxml-0.9/GCC/
|
44
|
-
- share/gccxml-0.9/GCC/
|
45
|
-
- share/gccxml-0.9/GCC/
|
46
|
-
- share/gccxml-0.9/GCC/
|
47
|
-
- share/gccxml-0.9/GCC/
|
48
|
-
- share/gccxml-0.9/GCC/
|
49
|
-
- share/gccxml-0.9/GCC/
|
50
|
-
- share/gccxml-0.9/GCC/
|
51
|
-
- share/gccxml-0.9/GCC/
|
52
|
-
- share/gccxml-0.9/GCC/
|
53
|
-
- share/gccxml-0.9/GCC/
|
54
|
-
- share/gccxml-0.9/GCC/
|
55
|
-
- share/gccxml-0.9/GCC/
|
56
|
-
- share/gccxml-0.9/GCC/
|
57
|
-
- share/gccxml-0.9/GCC/
|
58
|
-
- share/gccxml-0.9/GCC/
|
59
|
-
- share/gccxml-0.9/GCC/
|
60
|
-
- share/gccxml-0.9/GCC/
|
61
|
-
- share/gccxml-0.9/GCC/
|
62
|
-
- share/gccxml-0.9/GCC/
|
63
|
-
- share/gccxml-0.9/GCC/
|
64
|
-
- share/gccxml-0.9/GCC/
|
65
|
-
- share/gccxml-0.9/GCC/3.3/bits/stl_tree.h
|
66
|
-
- share/gccxml-0.9/GCC/3.3/bits/stl_deque.h
|
67
|
-
- share/gccxml-0.9/GCC/3.3/bits/sstream.tcc
|
68
|
-
- share/gccxml-0.9/GCC/3.3/bits/locale_facets.h
|
69
|
-
- share/gccxml-0.9/GCC/3.3/bits/stl_vector.h
|
70
|
-
- share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h
|
71
|
-
- share/gccxml-0.9/GCC/3.3/bits/messages_members.h
|
72
|
-
- share/gccxml-0.9/GCC/3.3/gccxml_builtins.h
|
73
|
-
- share/gccxml-0.9/GCC/3.3/sstream
|
74
|
-
- share/gccxml-0.9/GCC/3.3/fstream
|
75
|
-
- share/gccxml-0.9/GCC/3.4
|
76
|
-
- share/gccxml-0.9/GCC/3.4/bits
|
77
|
-
- share/gccxml-0.9/GCC/3.4/gccxml_builtins.h
|
78
|
-
- share/gccxml-0.9/GCC/4.0
|
79
|
-
- share/gccxml-0.9/GCC/4.0/bits
|
80
|
-
- share/gccxml-0.9/GCC/4.0/gccxml_builtins.h
|
81
|
-
- share/gccxml-0.9/GCC/4.1
|
82
|
-
- share/gccxml-0.9/GCC/4.1/bits
|
83
|
-
- share/gccxml-0.9/GCC/4.1/bits/gthr-default.h
|
84
|
-
- share/gccxml-0.9/GCC/4.1/gccxml_builtins.h
|
85
|
-
- share/gccxml-0.9/GCC/4.2
|
86
|
-
- share/gccxml-0.9/GCC/4.2/gccxml_builtins.h
|
87
|
-
- share/gccxml-0.9/GCC/2.95
|
88
|
-
- share/gccxml-0.9/GCC/2.95/map
|
89
|
-
- share/gccxml-0.9/GCC/2.95/new
|
90
|
-
- share/gccxml-0.9/GCC/2.95/set
|
91
|
-
- share/gccxml-0.9/GCC/2.95/std
|
92
|
-
- share/gccxml-0.9/GCC/2.95/std/straits.h
|
93
|
-
- share/gccxml-0.9/GCC/2.95/std/fcomplex.h
|
94
|
-
- share/gccxml-0.9/GCC/2.95/std/bastring.cc
|
95
|
-
- share/gccxml-0.9/GCC/2.95/std/mask_array.h
|
96
|
-
- share/gccxml-0.9/GCC/2.95/std/complext.h
|
97
|
-
- share/gccxml-0.9/GCC/2.95/std/ldcomplex.h
|
98
|
-
- share/gccxml-0.9/GCC/2.95/std/indirect_array.h
|
99
|
-
- share/gccxml-0.9/GCC/2.95/std/slice_array.h
|
100
|
-
- share/gccxml-0.9/GCC/2.95/std/dcomplex.h
|
33
|
+
- share/gccxml-0.9/Sun/find_flags_common
|
34
|
+
- share/gccxml-0.9/Sun/README
|
35
|
+
- share/gccxml-0.9/Sun/5.8/Cstd.patch
|
36
|
+
- share/gccxml-0.9/Sun/5.8/adapt_headers.sh
|
37
|
+
- share/gccxml-0.9/Sun/5.8/std-5.10.patch
|
38
|
+
- share/gccxml-0.9/Sun/find_flags
|
39
|
+
- share/gccxml-0.9/Intel/pthread.h
|
40
|
+
- share/gccxml-0.9/Intel/find_flags
|
41
|
+
- share/gccxml-0.9/gccxml_identify_compiler.cc
|
42
|
+
- share/gccxml-0.9/GCC/4.3/gccxml_builtins.h
|
43
|
+
- share/gccxml-0.9/GCC/2.95/stl_bvector.h
|
44
|
+
- share/gccxml-0.9/GCC/2.95/stl_tree.h
|
45
|
+
- share/gccxml-0.9/GCC/2.95/typeinfo
|
46
|
+
- share/gccxml-0.9/GCC/2.95/algorithm
|
47
|
+
- share/gccxml-0.9/GCC/2.95/fstream
|
48
|
+
- share/gccxml-0.9/GCC/2.95/iterator
|
49
|
+
- share/gccxml-0.9/GCC/2.95/stdexcept
|
50
|
+
- share/gccxml-0.9/GCC/2.95/stl_deque.h
|
51
|
+
- share/gccxml-0.9/GCC/2.95/string
|
52
|
+
- share/gccxml-0.9/GCC/2.95/deque
|
53
|
+
- share/gccxml-0.9/GCC/2.95/bitset
|
54
|
+
- share/gccxml-0.9/GCC/2.95/iosfwd
|
55
|
+
- share/gccxml-0.9/GCC/2.95/sstream
|
56
|
+
- share/gccxml-0.9/GCC/2.95/ctime
|
57
|
+
- share/gccxml-0.9/GCC/2.95/queue
|
58
|
+
- share/gccxml-0.9/GCC/2.95/iostream
|
59
|
+
- share/gccxml-0.9/GCC/2.95/stl_vector.h
|
60
|
+
- share/gccxml-0.9/GCC/2.95/utility
|
61
|
+
- share/gccxml-0.9/GCC/2.95/cmath
|
62
|
+
- share/gccxml-0.9/GCC/2.95/functional
|
63
|
+
- share/gccxml-0.9/GCC/2.95/vector
|
64
|
+
- share/gccxml-0.9/GCC/2.95/csetjmp
|
65
|
+
- share/gccxml-0.9/GCC/2.95/stack
|
66
|
+
- share/gccxml-0.9/GCC/2.95/clocale
|
67
|
+
- share/gccxml-0.9/GCC/2.95/cstdlib
|
68
|
+
- share/gccxml-0.9/GCC/2.95/strstream
|
101
69
|
- share/gccxml-0.9/GCC/2.95/std/gslice_array.h
|
102
70
|
- share/gccxml-0.9/GCC/2.95/std/valarray_meta.h
|
71
|
+
- share/gccxml-0.9/GCC/2.95/std/ldcomplex.h
|
72
|
+
- share/gccxml-0.9/GCC/2.95/std/bastring.cc
|
73
|
+
- share/gccxml-0.9/GCC/2.95/std/complext.h
|
103
74
|
- share/gccxml-0.9/GCC/2.95/std/std_valarray.h
|
104
|
-
- share/gccxml-0.9/GCC/2.95/
|
105
|
-
- share/gccxml-0.9/GCC/2.95/
|
75
|
+
- share/gccxml-0.9/GCC/2.95/std/straits.h
|
76
|
+
- share/gccxml-0.9/GCC/2.95/std/dcomplex.h
|
77
|
+
- share/gccxml-0.9/GCC/2.95/std/fcomplex.h
|
78
|
+
- share/gccxml-0.9/GCC/2.95/std/slice_array.h
|
79
|
+
- share/gccxml-0.9/GCC/2.95/std/indirect_array.h
|
80
|
+
- share/gccxml-0.9/GCC/2.95/std/mask_array.h
|
81
|
+
- share/gccxml-0.9/GCC/2.95/numeric
|
82
|
+
- share/gccxml-0.9/GCC/2.95/cstring
|
106
83
|
- share/gccxml-0.9/GCC/2.95/complex
|
107
|
-
- share/gccxml-0.9/GCC/2.95/
|
84
|
+
- share/gccxml-0.9/GCC/2.95/gccxml_bitset
|
108
85
|
- share/gccxml-0.9/GCC/2.95/pthread.h
|
109
|
-
- share/gccxml-0.9/GCC/2.95/csetjmp
|
110
86
|
- share/gccxml-0.9/GCC/2.95/csignal
|
111
|
-
- share/gccxml-0.9/GCC/2.95/
|
112
|
-
- share/gccxml-0.9/GCC/2.95/cstddef
|
113
|
-
- share/gccxml-0.9/GCC/2.95/cstdlib
|
114
|
-
- share/gccxml-0.9/GCC/2.95/cstring
|
115
|
-
- share/gccxml-0.9/GCC/2.95/stl_alloc.h
|
116
|
-
- share/gccxml-0.9/GCC/2.95/cmath
|
117
|
-
- share/gccxml-0.9/GCC/2.95/deque
|
118
|
-
- share/gccxml-0.9/GCC/2.95/ctime
|
87
|
+
- share/gccxml-0.9/GCC/2.95/map
|
119
88
|
- share/gccxml-0.9/GCC/2.95/cwctype
|
120
|
-
- share/gccxml-0.9/GCC/2.95/
|
121
|
-
- share/gccxml-0.9/GCC/2.95/
|
122
|
-
- share/gccxml-0.9/GCC/2.95/stack
|
123
|
-
- share/gccxml-0.9/GCC/2.95/typeinfo
|
124
|
-
- share/gccxml-0.9/GCC/2.95/exception
|
89
|
+
- share/gccxml-0.9/GCC/2.95/valarray
|
90
|
+
- share/gccxml-0.9/GCC/2.95/cwchar
|
125
91
|
- share/gccxml-0.9/GCC/2.95/stl_list.h
|
126
|
-
- share/gccxml-0.9/GCC/2.95/
|
127
|
-
- share/gccxml-0.9/GCC/2.95/
|
128
|
-
- share/gccxml-0.9/GCC/2.95/
|
129
|
-
- share/gccxml-0.9/GCC/2.95/functional
|
130
|
-
- share/gccxml-0.9/GCC/2.95/algorithm
|
131
|
-
- share/gccxml-0.9/GCC/2.95/sstream
|
132
|
-
- share/gccxml-0.9/GCC/2.95/bitset
|
133
|
-
- share/gccxml-0.9/GCC/2.95/cctype
|
92
|
+
- share/gccxml-0.9/GCC/2.95/cstddef
|
93
|
+
- share/gccxml-0.9/GCC/2.95/iomanip
|
94
|
+
- share/gccxml-0.9/GCC/2.95/list
|
134
95
|
- share/gccxml-0.9/GCC/2.95/cstdio
|
135
|
-
- share/gccxml-0.9/GCC/2.95/
|
136
|
-
- share/gccxml-0.9/GCC/2.95/
|
137
|
-
- share/gccxml-0.9/GCC/2.95/
|
138
|
-
- share/gccxml-0.9/GCC/2.95/
|
96
|
+
- share/gccxml-0.9/GCC/2.95/cstdarg
|
97
|
+
- share/gccxml-0.9/GCC/2.95/stl_alloc.h
|
98
|
+
- share/gccxml-0.9/GCC/2.95/set
|
99
|
+
- share/gccxml-0.9/GCC/2.95/new
|
139
100
|
- share/gccxml-0.9/GCC/2.95/memory
|
140
|
-
- share/gccxml-0.9/GCC/2.95/
|
141
|
-
- share/gccxml-0.9/GCC/2.95/
|
142
|
-
- share/gccxml-0.9/GCC/
|
143
|
-
- share/gccxml-0.9/GCC/2
|
144
|
-
- share/gccxml-0.9/GCC/2
|
145
|
-
- share/gccxml-0.9/GCC/2.
|
146
|
-
- share/gccxml-0.9/GCC/2.
|
147
|
-
- share/gccxml-0.9/GCC/2
|
148
|
-
- share/gccxml-0.9/GCC/2.
|
149
|
-
- share/gccxml-0.9/GCC/2.
|
101
|
+
- share/gccxml-0.9/GCC/2.95/cctype
|
102
|
+
- share/gccxml-0.9/GCC/2.95/exception
|
103
|
+
- share/gccxml-0.9/GCC/3.0/pthread.h
|
104
|
+
- share/gccxml-0.9/GCC/3.2/fstream
|
105
|
+
- share/gccxml-0.9/GCC/3.2/sstream
|
106
|
+
- share/gccxml-0.9/GCC/3.2/pthread.h
|
107
|
+
- share/gccxml-0.9/GCC/3.2/bits/stl_tree.h
|
108
|
+
- share/gccxml-0.9/GCC/3.2/bits/locale_facets.h
|
109
|
+
- share/gccxml-0.9/GCC/3.2/bits/messages_members.h
|
110
|
+
- share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h
|
111
|
+
- share/gccxml-0.9/GCC/3.2/bits/stl_deque.h
|
112
|
+
- share/gccxml-0.9/GCC/3.2/bits/fstream.tcc
|
113
|
+
- share/gccxml-0.9/GCC/3.2/bits/istream.tcc
|
114
|
+
- share/gccxml-0.9/GCC/3.2/bits/ostream.tcc
|
115
|
+
- share/gccxml-0.9/GCC/3.2/bits/stl_vector.h
|
116
|
+
- share/gccxml-0.9/GCC/3.2/bits/gthr-default.h
|
117
|
+
- share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc
|
118
|
+
- share/gccxml-0.9/GCC/3.2/bits/stl_list.h
|
119
|
+
- share/gccxml-0.9/GCC/3.2/bits/sstream.tcc
|
120
|
+
- share/gccxml-0.9/GCC/4.2/gccxml_builtins.h
|
121
|
+
- share/gccxml-0.9/GCC/4.0/gccxml_builtins.h
|
122
|
+
- share/gccxml-0.9/GCC/3.4/gccxml_builtins.h
|
123
|
+
- share/gccxml-0.9/GCC/3.4/bits/gthr-default.h
|
124
|
+
- share/gccxml-0.9/GCC/3.1/pthread.h
|
150
125
|
- share/gccxml-0.9/GCC/2.96/sstream
|
151
|
-
- share/gccxml-0.9/GCC/
|
152
|
-
- share/gccxml-0.9/
|
153
|
-
- share/gccxml-0.9/
|
154
|
-
- share/gccxml-0.9/
|
155
|
-
- share/gccxml-0.9/
|
156
|
-
- share/gccxml-0.9/
|
157
|
-
- share/gccxml-0.9/
|
158
|
-
- share/gccxml-0.9/
|
159
|
-
- share/gccxml-0.9/
|
160
|
-
- share/gccxml-0.9/
|
161
|
-
- share/gccxml-0.9/
|
162
|
-
- share/gccxml-0.9/
|
126
|
+
- share/gccxml-0.9/GCC/3.3/fstream
|
127
|
+
- share/gccxml-0.9/GCC/3.3/sstream
|
128
|
+
- share/gccxml-0.9/GCC/3.3/gccxml_builtins.h
|
129
|
+
- share/gccxml-0.9/GCC/3.3/bits/stl_tree.h
|
130
|
+
- share/gccxml-0.9/GCC/3.3/bits/locale_facets.h
|
131
|
+
- share/gccxml-0.9/GCC/3.3/bits/messages_members.h
|
132
|
+
- share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h
|
133
|
+
- share/gccxml-0.9/GCC/3.3/bits/stl_deque.h
|
134
|
+
- share/gccxml-0.9/GCC/3.3/bits/fstream.tcc
|
135
|
+
- share/gccxml-0.9/GCC/3.3/bits/stl_vector.h
|
136
|
+
- share/gccxml-0.9/GCC/3.3/bits/list.tcc
|
137
|
+
- share/gccxml-0.9/GCC/3.3/bits/stl_list.h
|
138
|
+
- share/gccxml-0.9/GCC/3.3/bits/sstream.tcc
|
139
|
+
- share/gccxml-0.9/GCC/4.1/gccxml_builtins.h
|
140
|
+
- share/gccxml-0.9/GCC/4.1/bits/gthr-default.h
|
141
|
+
- share/gccxml-0.9/gccxml_config
|
142
|
+
- share/gccxml-0.9/IBM/find_flags_common
|
143
|
+
- share/gccxml-0.9/IBM/README
|
144
|
+
- share/gccxml-0.9/IBM/find_flags
|
145
|
+
- share/gccxml-0.9/IBM/8.0/adapt_headers.sh
|
146
|
+
- share/gccxml-0.9/IBM/8.0/stdlib.h.patch
|
147
|
+
- share/gccxml-0.9/IBM/8.0/xstring.patch
|
148
|
+
- share/gccxml-0.9/MIPSpro/mipspro_defs.cxx
|
163
149
|
- share/gccxml-0.9/MIPSpro/7.3/stl_config.h
|
164
|
-
- share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h
|
165
|
-
- share/gccxml-0.9/MIPSpro/7.3/exception
|
166
|
-
- share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h
|
167
|
-
- share/gccxml-0.9/MIPSpro/7.3/stl_locale.h
|
168
|
-
- share/gccxml-0.9/MIPSpro/7.3/stl_threads.h
|
169
|
-
- share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h
|
170
150
|
- share/gccxml-0.9/MIPSpro/7.3/string
|
151
|
+
- share/gccxml-0.9/MIPSpro/7.3/stl_threads.h
|
171
152
|
- share/gccxml-0.9/MIPSpro/7.3/stddef.h
|
172
|
-
- share/gccxml-0.9/MIPSpro/7.3/
|
153
|
+
- share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h
|
154
|
+
- share/gccxml-0.9/MIPSpro/7.3/stl_locale.h
|
155
|
+
- share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h
|
173
156
|
- share/gccxml-0.9/MIPSpro/7.3/iomanip
|
157
|
+
- share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h
|
158
|
+
- share/gccxml-0.9/MIPSpro/7.3/exception
|
159
|
+
- share/gccxml-0.9/MIPSpro/7.3/ostream
|
174
160
|
- share/gccxml-0.9/MIPSpro/find_flags
|
175
|
-
- share/gccxml-0.9/
|
176
|
-
- share/gccxml-0.9/
|
177
|
-
|
161
|
+
- share/doc/gccxml-0.9/gccxml.txt
|
162
|
+
- share/doc/gccxml-0.9/gccxml.html
|
163
|
+
- share/doc/gccxml-0.9/Copyright.txt
|
164
|
+
- share/man/man1/gccxml.1
|
165
|
+
has_rdoc: true
|
178
166
|
homepage: http://rbplusplus.rubyforge.org/
|
167
|
+
licenses: []
|
168
|
+
|
179
169
|
post_install_message:
|
180
170
|
rdoc_options: []
|
181
171
|
|
@@ -196,9 +186,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
186
|
requirements: []
|
197
187
|
|
198
188
|
rubyforge_project: rbplusplus
|
199
|
-
rubygems_version: 1.
|
189
|
+
rubygems_version: 1.3.5
|
200
190
|
signing_key:
|
201
|
-
specification_version:
|
191
|
+
specification_version: 3
|
202
192
|
summary: Easy install for GCCXML
|
203
193
|
test_files: []
|
204
194
|
|
@@ -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}
|