1 # $Id: rpmrc.in,v 2.31 2000/10/22 07:51:45 notting Exp $
3 # This is a global RPM configuration file. All changes made here will
4 # be lost when the rpm package is upgraded. Any per-system configuration
5 # should be added to /etc/rpm/rpmrc, while per-user configuration should
6 # be added to ~/.rpmrc.
8 #############################################################
9 # Values for RPM_OPT_FLAGS for various platforms
11 # XXX this is the i386 optflags that rpm has traditionally used in the past.
12 #optflags: i386 -O2 -m486 -fno-strength-reduce
13 optflags: i386 -O2 -march=i386 -mcpu=i686
14 optflags: i486 -O2 -march=i486
15 optflags: i586 -O2 -march=i586
16 optflags: i686 -O2 -march=i686
17 optflags: athlon -O2 -march=athlon
20 # XXX Please note that -mieee has been added in rpm-3.0.5.
21 optflags: alpha -O2 -mieee
22 optflags: alphaev5 -O2 -mieee -mcpu=ev5
23 optflags: alphaev56 -O2 -mieee -mcpu=ev56
24 optflags: alphapca56 -O2 -mieee -mcpu=pca56
25 optflags: alphaev6 -O2 -mieee -mcpu=ev6
26 optflags: alphaev67 -O2 -mieee -mcpu=ev67
28 optflags: sparc -O2 -m32 -mtune=ultrasparc
29 optflags: sparcv9 -O2 -m32 -mcpu=ultrasparc
30 optflags: sparc64 -O2 -m64 -mcpu=ultrasparc
31 optflags: m68k -O2 -fomit-frame-pointer
32 optflags: ppc -O2 -fsigned-char
33 optflags: parisc -O2 -mpa-risc-1-0
34 optflags: hppa1.0 -O2 -mpa-risc-1-0
35 optflags: hppa1.1 -O2 -mpa-risc-1-0
36 optflags: hppa1.2 -O2 -mpa-risc-1-0
37 optflags: hppa2.0 -O2 -mpa-risc-1-0
40 optflags: armv4b -O2 -fsigned-char -fomit-frame-pointer
41 optflags: armv4l -O2 -fsigned-char -fomit-frame-pointer
42 optflags: atarist -O2 -fomit-frame-pointer
43 optflags: atariste -O2 -fomit-frame-pointer
44 optflags: ataritt -O2 -fomit-frame-pointer
45 optflags: falcon -O2 -fomit-frame-pointer
46 optflags: atariclone -O2 -fomit-frame-pointer
47 optflags: milan -O2 -fomit-frame-pointer
48 optflags: hades -O2 -fomit-frame-pointer
50 #############################################################
51 # Canonical arch names and numbers
53 arch_canon: athlon: athlon 1
54 arch_canon: i686: i686 1
55 arch_canon: i586: i586 1
56 arch_canon: i486: i486 1
57 arch_canon: i386: i386 1
58 arch_canon: alpha: alpha 2
59 arch_canon: alphaev5: alphaev5 2
60 arch_canon: alphaev56: alphaev56 2
61 arch_canon: alphapca56:alphapca56 2
62 arch_canon: alphaev6: alphaev6 2
63 arch_canon: alphaev67: alphaev67 2
64 arch_canon: sparc: sparc 3
65 arch_canon: sun4: sparc 3
66 arch_canon: sun4m: sparc 3
67 arch_canon: sun4c: sparc 3
68 arch_canon: sun4d: sparc 3
69 arch_canon: sparcv9: sparcv9 3
70 # This is really a place holder for MIPS.
71 arch_canon: mipseb: mipseb 4
72 arch_canon: ppc: ppc 5
73 arch_canon: m68k: m68k 6
75 arch_canon: rs6000: rs6000 8
76 arch_canon: ia64: ia64 9
78 arch_canon: sparc64:sparc64 10
79 arch_canon: sun4u: sparc64 10
80 arch_canon: mipsel: mipsel 11
82 arch_canon: armv4b: armv4b 12
83 arch_canon: armv4l: armv4l 12
85 arch_canon: m68kmint: m68kmint 13
86 arch_canon: atarist: m68kmint 13
87 arch_canon: atariste: m68kmint 13
88 arch_canon: ataritt: m68kmint 13
89 arch_canon: falcon: m68kmint 13
90 arch_canon: atariclone: m68kmint 13
91 arch_canon: milan: m68kmint 13
92 arch_canon: hades: m68kmint 13
93 arch_canon: s390: s390 14
94 arch_canon: i370: i370 14
96 #############################################################
97 # Canonical OS names and numbers
99 os_canon: Linux: Linux 1
100 os_canon: IRIX: Irix 2
102 os_canon: SunOS5: solaris 3
103 os_canon: SunOS4: SunOS 4
105 os_canon: AmigaOS: AmigaOS 5
107 os_canon: HP-UX: hpux10 6
108 os_canon: OSF1: osf1 7
109 os_canon: osf4.0: osf1 7
110 os_canon: osf3.2: osf1 7
111 os_canon: FreeBSD: FreeBSD 8
112 os_canon: SCO_SV: SCO_SV3.2v5.0.2 9
113 os_canon: IRIX64: Irix64 10
114 os_canon: NEXTSTEP: NextStep 11
115 os_canon: BSD/OS: BSD_OS 12
116 os_canon: machten: machten 13
117 os_canon: CYGWIN32_NT: cygwin32 14
118 os_canon: CYGWIN32_95: cygwin32 15
119 os_canon: UNIX_SV: MP_RAS: 16
120 os_canon: MiNT: FreeMiNT 17
121 os_canon: OS/390: OS/390 18
122 os_canon: VM/ESA: VM/ESA 19
123 os_canon: Linux/390: OS/390 20
124 os_canon: Linux/ESA: VM/ESA 20
126 #############################################################
127 # For a given uname().machine, the default build arch
129 buildarchtranslate: osfmach3_i686: i386
130 buildarchtranslate: osfmach3_i586: i386
131 buildarchtranslate: osfmach3_i486: i386
132 buildarchtranslate: osfmach3_i386: i386
134 buildarchtranslate: ia64: ia64
136 buildarchtranslate: athlon: i386
137 buildarchtranslate: i686: i386
138 buildarchtranslate: i586: i386
139 buildarchtranslate: i486: i386
140 buildarchtranslate: i386: i386
142 buildarchtranslate: osfmach3_ppc: ppc
143 buildarchtranslate: powerpc: ppc
144 buildarchtranslate: powerppc: ppc
146 buildarchtranslate: alphaev5: alpha
147 buildarchtranslate: alphaev56: alpha
148 buildarchtranslate: alphapca56: alpha
149 buildarchtranslate: alphaev6: alpha
150 buildarchtranslate: alphaev67: alpha
152 buildarchtranslate: sun4c: sparc
153 buildarchtranslate: sun4d: sparc
154 buildarchtranslate: sun4m: sparc
155 buildarchtranslate: sparcv9: sparc
156 buildarchtranslate: sun4u: sparc64
158 buildarchtranslate: atarist: m68kmint
159 buildarchtranslate: atariste: m68kmint
160 buildarchtranslate: ataritt: m68kmint
161 buildarchtranslate: falcon: m68kmint
162 buildarchtranslate: atariclone: m68kmint
163 buildarchtranslate: milan: m68kmint
164 buildarchtranslate: hades: m68kmint
166 #############################################################
167 # Architecture compatibility
169 arch_compat: alphaev67: alphaev6
170 arch_compat: alphaev6: alphapca56
171 arch_compat: alphapca56: alphaev56
172 arch_compat: alphaev56: alphaev5
173 arch_compat: alphaev5: alpha
174 arch_compat: alpha: axp noarch
176 arch_compat: athlon: i686
177 arch_compat: i686: i586
178 arch_compat: i586: i486
179 arch_compat: i486: i386
180 arch_compat: i386: noarch
182 arch_compat: osfmach3_i686: i686 osfmach3_i586
183 arch_compat: osfmach3_i586: i586 osfmach3_i486
184 arch_compat: osfmach3_i486: i486 osfmach3_i386
185 arch_compat: osfmach3_i386: i486
187 arch_compat: osfmach3_ppc: ppc
188 arch_compat: powerpc: ppc
189 arch_compat: powerppc: ppc
191 arch_compat: sun4c: sparc
192 arch_compat: sun4d: sparc
193 arch_compat: sun4m: sparc
194 arch_compat: sun4u: sparc64
195 arch_compat: sparc64: sparcv9
196 arch_compat: sparcv9: sparc
197 arch_compat: sparc: noarch
199 arch_compat: ppc: rs6000
200 arch_compat: rs6000: noarch
201 arch_compat: mipseb: noarch
202 arch_compat: mipsel: noarch
204 arch_compat: hppa2.0: hppa1.2
205 arch_compat: hppa1.2: hppa1.1
206 arch_compat: hppa1.1: hppa1.0
207 arch_compat: hppa1.0: parisc
208 arch_compat: parisc: noarch
210 arch_compat: armv4b: noarch
211 arch_compat: armv4l: noarch
213 arch_compat: atarist: m68kmint noarch
214 arch_compat: atariste: m68kmint noarch
215 arch_compat: ataritt: m68kmint noarch
216 arch_compat: falcon: m68kmint noarch
217 arch_compat: atariclone: m68kmint noarch
218 arch_compat: milan: m68kmint noarch
219 arch_compat: hades: m68kmint noarch
221 arch_compat: s390: i370
222 arch_compat: i370: noarch
224 arch_compat: ia64: i686
225 arch_compat: ia64: noarch
227 os_compat: IRIX64: IRIX
228 os_compat: solaris2.7: solaris2.3 solaris2.4 solaris2.5 solaris2.6
229 os_compat: solaris2.6: solaris2.3 solaris2.4 solaris2.5
230 os_compat: solaris2.5: solaris2.3 solaris2.4
231 os_compat: solaris2.4: solaris2.3
233 os_compat: hpux11.00: hpux10.30
234 os_compat: hpux10.30: hpux10.20
235 os_compat: hpux10.20: hpux10.10
236 os_compat: hpux10.10: hpux10.01
237 os_compat: hpux10.01: hpux10.00
238 os_compat: hpux10.00: hpux9.07
239 os_compat: hpux9.07: hpux9.05
240 os_compat: hpux9.05: hpux9.04
242 os_compat: osf4.0: osf3.2 osf1
244 os_compat: ncr-sysv4.3: ncr-sysv4.2
246 os_compat: FreeMiNT: mint MiNT TOS
247 os_compat: MiNT: FreeMiNT mint TOS
248 os_compat: mint: FreeMiNT MiNT TOS
249 os_compat: TOS: FreeMiNT MiNT mint
251 buildarch_compat: ia64: noarch
253 buildarch_compat: athlon: i686
254 buildarch_compat: i686: i586
255 buildarch_compat: i586: i486
256 buildarch_compat: i486: i386
257 buildarch_compat: i386: noarch
259 buildarch_compat: sun4c: noarch
260 buildarch_compat: sun4d: noarch
261 buildarch_compat: sun4m: noarch
262 buildarch_compat: sun4u: noarch
263 buildarch_compat: sparc64: noarch
264 buildarch_compat: sparcv9: sparc
265 buildarch_compat: sparc: noarch
267 buildarch_compat: alphaev67: alphaev6
268 buildarch_compat: alphaev6: alphapca56
269 buildarch_compat: alphapca56: alphaev56
270 buildarch_compat: alphaev56: alphaev5
271 buildarch_compat: alphaev5: alpha
272 buildarch_compat: alpha: noarch
274 buildarch_compat: m68k: noarch
275 buildarch_compat: ppc: noarch
276 buildarch_compat: mipsel: noarch
277 buildarch_compat: mipseb: noarch
278 buildarch_compat: armv4b: noarch
279 buildarch_compat: armv4l: noarch
280 buildarch_compat: parisc: noarch
282 buildarch_compat: atarist: m68kmint noarch
283 buildarch_compat: atariste: m68kmint noarch
284 buildarch_compat: ataritt: m68kmint noarch
285 buildarch_compat: falcon: m68kmint noarch
286 buildarch_compat: atariclone: m68kmint noarch
287 buildarch_compat: milan: m68kmint noarch
288 buildarch_compat: hades: m68kmint noarch
290 buildarch_compat: ia64: noarch
291 buildarch_compat: s390: noarch
293 macrofiles: @RPMCONFIGDIR@/macros:@RPMCONFIGDIR@/%{_target}/macros:@SYSCONFIGDIR@/macros.specspo:@SYSCONFIGDIR@/macros:@SYSCONFIGDIR@/%{_target}/macros:~/.rpmmacros