Sun, 03 Apr 2011 13:34:55 +0200
Correct and improve several packaging aspects including...
Correct datadir path for python modules, correct jar(1) path for
building libgcj classes, strip libexecdir path of version numbers,
improve name of oblbld build path, clean whitespace from as(1) and
ld(1) GNU detection, remove seemingly discarded '--with-local-prefix'
configure argument, and correct hardcoded lto plugin libtool archive
dependency information.
Most importantly, correct IA32 architecture detection logic in
config.gcc to correctly emit SSE2 instructions conditionally, leading
to the removal of all '-march' bootstrap options and replacement with
unconditional (for IA32/AMD64) '-mtune=native' options. Comments and
buildtime warnings are corrected appropriately. In theory these changes
cause a more portable, orthoganal, and optimal bootstrap to be built.
michael@13 | 1 | .\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32 |
michael@13 | 2 | .\" |
michael@13 | 3 | .\" Standard preamble: |
michael@13 | 4 | .\" ======================================================================== |
michael@13 | 5 | .de Sh \" Subsection heading |
michael@13 | 6 | .br |
michael@13 | 7 | .if t .Sp |
michael@13 | 8 | .ne 5 |
michael@13 | 9 | .PP |
michael@13 | 10 | \fB\\$1\fR |
michael@13 | 11 | .PP |
michael@13 | 12 | .. |
michael@13 | 13 | .de Sp \" Vertical space (when we can't use .PP) |
michael@13 | 14 | .if t .sp .5v |
michael@13 | 15 | .if n .sp |
michael@13 | 16 | .. |
michael@13 | 17 | .de Vb \" Begin verbatim text |
michael@13 | 18 | .ft CW |
michael@13 | 19 | .nf |
michael@13 | 20 | .ne \\$1 |
michael@13 | 21 | .. |
michael@13 | 22 | .de Ve \" End verbatim text |
michael@13 | 23 | .ft R |
michael@13 | 24 | .fi |
michael@13 | 25 | .. |
michael@13 | 26 | .\" Set up some character translations and predefined strings. \*(-- will |
michael@13 | 27 | .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left |
michael@13 | 28 | .\" double quote, and \*(R" will give a right double quote. | will give a |
michael@13 | 29 | .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to |
michael@13 | 30 | .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' |
michael@13 | 31 | .\" expand to `' in nroff, nothing in troff, for use with C<>. |
michael@13 | 32 | .tr \(*W-|\(bv\*(Tr |
michael@13 | 33 | .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' |
michael@13 | 34 | .ie n \{\ |
michael@13 | 35 | . ds -- \(*W- |
michael@13 | 36 | . ds PI pi |
michael@13 | 37 | . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch |
michael@13 | 38 | . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch |
michael@13 | 39 | . ds L" "" |
michael@13 | 40 | . ds R" "" |
michael@13 | 41 | . ds C` |
michael@13 | 42 | . ds C' |
michael@13 | 43 | 'br\} |
michael@13 | 44 | .el\{\ |
michael@13 | 45 | . ds -- \|\(em\| |
michael@13 | 46 | . ds PI \(*p |
michael@13 | 47 | . ds L" `` |
michael@13 | 48 | . ds R" '' |
michael@13 | 49 | 'br\} |
michael@13 | 50 | .\" |
michael@13 | 51 | .\" If the F register is turned on, we'll generate index entries on stderr for |
michael@13 | 52 | .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index |
michael@13 | 53 | .\" entries marked with X<> in POD. Of course, you'll have to process the |
michael@13 | 54 | .\" output yourself in some meaningful fashion. |
michael@13 | 55 | .if \nF \{\ |
michael@13 | 56 | . de IX |
michael@13 | 57 | . tm Index:\\$1\t\\n%\t"\\$2" |
michael@13 | 58 | .. |
michael@13 | 59 | . nr % 0 |
michael@13 | 60 | . rr F |
michael@13 | 61 | .\} |
michael@13 | 62 | .\" |
michael@13 | 63 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
michael@13 | 64 | .\" way too many mistakes in technical documents. |
michael@13 | 65 | .hy 0 |
michael@13 | 66 | .if n .na |
michael@13 | 67 | .\" |
michael@13 | 68 | .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). |
michael@13 | 69 | .\" Fear. Run. Save yourself. No user-serviceable parts. |
michael@13 | 70 | . \" fudge factors for nroff and troff |
michael@13 | 71 | .if n \{\ |
michael@13 | 72 | . ds #H 0 |
michael@13 | 73 | . ds #V .8m |
michael@13 | 74 | . ds #F .3m |
michael@13 | 75 | . ds #[ \f1 |
michael@13 | 76 | . ds #] \fP |
michael@13 | 77 | .\} |
michael@13 | 78 | .if t \{\ |
michael@13 | 79 | . ds #H ((1u-(\\\\n(.fu%2u))*.13m) |
michael@13 | 80 | . ds #V .6m |
michael@13 | 81 | . ds #F 0 |
michael@13 | 82 | . ds #[ \& |
michael@13 | 83 | . ds #] \& |
michael@13 | 84 | .\} |
michael@13 | 85 | . \" simple accents for nroff and troff |
michael@13 | 86 | .if n \{\ |
michael@13 | 87 | . ds ' \& |
michael@13 | 88 | . ds ` \& |
michael@13 | 89 | . ds ^ \& |
michael@13 | 90 | . ds , \& |
michael@13 | 91 | . ds ~ ~ |
michael@13 | 92 | . ds / |
michael@13 | 93 | .\} |
michael@13 | 94 | .if t \{\ |
michael@13 | 95 | . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" |
michael@13 | 96 | . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' |
michael@13 | 97 | . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' |
michael@13 | 98 | . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' |
michael@13 | 99 | . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' |
michael@13 | 100 | . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' |
michael@13 | 101 | .\} |
michael@13 | 102 | . \" troff and (daisy-wheel) nroff accents |
michael@13 | 103 | .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' |
michael@13 | 104 | .ds 8 \h'\*(#H'\(*b\h'-\*(#H' |
michael@13 | 105 | .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] |
michael@13 | 106 | .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' |
michael@13 | 107 | .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' |
michael@13 | 108 | .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] |
michael@13 | 109 | .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] |
michael@13 | 110 | .ds ae a\h'-(\w'a'u*4/10)'e |
michael@13 | 111 | .ds Ae A\h'-(\w'A'u*4/10)'E |
michael@13 | 112 | . \" corrections for vroff |
michael@13 | 113 | .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' |
michael@13 | 114 | .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' |
michael@13 | 115 | . \" for low resolution devices (crt and lpr) |
michael@13 | 116 | .if \n(.H>23 .if \n(.V>19 \ |
michael@13 | 117 | \{\ |
michael@13 | 118 | . ds : e |
michael@13 | 119 | . ds 8 ss |
michael@13 | 120 | . ds o a |
michael@13 | 121 | . ds d- d\h'-1'\(ga |
michael@13 | 122 | . ds D- D\h'-1'\(hy |
michael@13 | 123 | . ds th \o'bp' |
michael@13 | 124 | . ds Th \o'LP' |
michael@13 | 125 | . ds ae ae |
michael@13 | 126 | . ds Ae AE |
michael@13 | 127 | .\} |
michael@13 | 128 | .rm #[ #] #H #V #F C |
michael@13 | 129 | .\" ======================================================================== |
michael@13 | 130 | .\" |
michael@13 | 131 | .IX Title "RPM-CONFIG 8" |
michael@13 | 132 | .TH RPM-CONFIG 8 "OpenPKG" "RPM-CONFIG(8)" "OpenPKG" |
michael@13 | 133 | .SH "NAME" |
michael@13 | 134 | \&\fBrpm\-config\fR \- OpenPKG RPM library build utility |
michael@13 | 135 | .SH "VERSION" |
michael@13 | 136 | .IX Header "VERSION" |
michael@13 | 137 | OpenPKG \s-1RPM\s0 \s-1RPM_VERSION\s0 |
michael@13 | 138 | .SH "SYNOPSIS" |
michael@13 | 139 | .IX Header "SYNOPSIS" |
michael@13 | 140 | \&\fBrpm-config\fR |
michael@13 | 141 | [\fB\-\-help\fR] |
michael@13 | 142 | [\fB\-\-version\fR] |
michael@13 | 143 | [\fB\-\-cc\fR] |
michael@13 | 144 | [\fB\-\-cppflags\fR] |
michael@13 | 145 | [\fB\-\-cflags\fR] |
michael@13 | 146 | [\fB\-\-ldflags\fR] |
michael@13 | 147 | [\fB\-\-libs\fR] |
michael@13 | 148 | .SH "DESCRIPTION" |
michael@13 | 149 | .IX Header "DESCRIPTION" |
michael@13 | 150 | The \fBrpm-config\fR program is a little helper utility for easy |
michael@13 | 151 | configuring and building applications based on the OpenPKG \s-1RPM\s0 library. |
michael@13 | 152 | It can be used to query the C compiler and linker flags which are |
michael@13 | 153 | required to correctly compile and link the application against the |
michael@13 | 154 | \&\s-1RPM\s0 library. |
michael@13 | 155 | .SH "OPTIONS" |
michael@13 | 156 | .IX Header "OPTIONS" |
michael@13 | 157 | \&\fBrpm-config\fR accepts the following options: |
michael@13 | 158 | .IP "\fB\-\-help\fR" 4 |
michael@13 | 159 | .IX Item "--help" |
michael@13 | 160 | Prints the short usage information. |
michael@13 | 161 | .IP "\fB\-\-version\fR" 4 |
michael@13 | 162 | .IX Item "--version" |
michael@13 | 163 | Prints the version number and date of the installed \s-1RPM\s0 library. |
michael@13 | 164 | .IP "\fB\-\-cc\fR" 4 |
michael@13 | 165 | .IX Item "--cc" |
michael@13 | 166 | .PD 0 |
michael@13 | 167 | .IP "\fB\-\-cppflags\fR" 4 |
michael@13 | 168 | .IX Item "--cppflags" |
michael@13 | 169 | .PD |
michael@13 | 170 | Prints the C pre-processor flags (\f(CW\*(C`\-I\*(C'\fR) which are needed to compile the |
michael@13 | 171 | RPM-based application. The output is usually added to the \f(CW\*(C`CPPFLAGS\*(C'\fR |
michael@13 | 172 | variable of the applications \f(CW\*(C`Makefile\*(C'\fR. |
michael@13 | 173 | .IP "\fB\-\-cflags\fR" 4 |
michael@13 | 174 | .IX Item "--cflags" |
michael@13 | 175 | Prints the C compiler flags which are needed to compile the RPM-based |
michael@13 | 176 | application. The output is usually added to the \f(CW\*(C`CFLAGS\*(C'\fR variable of the |
michael@13 | 177 | applications \f(CW\*(C`Makefile\*(C'\fR. |
michael@13 | 178 | .IP "\fB\-\-ldflags\fR" 4 |
michael@13 | 179 | .IX Item "--ldflags" |
michael@13 | 180 | Prints the linker flags (\f(CW\*(C`\-L\*(C'\fR) which are needed to link the application with |
michael@13 | 181 | the \s-1RPM\s0 library. The output is usually added to the \f(CW\*(C`LDFLAGS\*(C'\fR variable of |
michael@13 | 182 | the applications \f(CW\*(C`Makefile\*(C'\fR. |
michael@13 | 183 | .IP "\fB\-\-libs\fR" 4 |
michael@13 | 184 | .IX Item "--libs" |
michael@13 | 185 | Prints the library flags (\f(CW\*(C`\-l\*(C'\fR) which are needed to link the application with |
michael@13 | 186 | the \s-1RPM\s0 library. The output is usually added to the \f(CW\*(C`LIBS\*(C'\fR variable of the |
michael@13 | 187 | applications \f(CW\*(C`Makefile\*(C'\fR. |
michael@13 | 188 | .SH "EXAMPLE" |
michael@13 | 189 | .IX Header "EXAMPLE" |
michael@13 | 190 | .Vb 5 |
michael@13 | 191 | \& CC = `rpm-config --cc` |
michael@13 | 192 | \& CPPFLAGS = `rpm-config --cppflags` |
michael@13 | 193 | \& CFLAGS = `rpm-config --cflags` |
michael@13 | 194 | \& LDFLAGS = `rpm-config --ldflags` |
michael@13 | 195 | \& LIBS = `rpm-config --libs` |
michael@13 | 196 | .Ve |
michael@13 | 197 | .PP |
michael@13 | 198 | .Vb 1 |
michael@13 | 199 | \& all: foo |
michael@13 | 200 | .Ve |
michael@13 | 201 | .PP |
michael@13 | 202 | .Vb 2 |
michael@13 | 203 | \& foo: foo.o |
michael@13 | 204 | \& $(CC) $(LDFLAGS) -o foo foo.o $(LIBS) |
michael@13 | 205 | .Ve |
michael@13 | 206 | .PP |
michael@13 | 207 | .Vb 2 |
michael@13 | 208 | \& foo.o: foo.c |
michael@13 | 209 | \& $(CC) $(CPPFLAGS) $(CFLAGS) -o foo.o -c foo.c |
michael@13 | 210 | .Ve |
michael@13 | 211 | .SH "SEE ALSO" |
michael@13 | 212 | .IX Header "SEE ALSO" |
michael@13 | 213 | \&\fIrpm\fR\|(1), \fIcc\fR\|(1). |
michael@13 | 214 | .SH "AUTHOR" |
michael@13 | 215 | .IX Header "AUTHOR" |
michael@13 | 216 | .Vb 3 |
michael@13 | 217 | \& Ralf S. Engelschall |
michael@13 | 218 | \& rse@engelschall.com |
michael@13 | 219 | \& www.engelschall.com |
michael@13 | 220 | .Ve |