Changes in chapter08/udev.xml [f24a041:df9c52e]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/udev.xml
rf24a041 rdf9c52e 160 160 </sect2> 161 161 162 <!-- - - - - - - - - - --> 163 <!-- Multilib - 32bit --> 164 <!-- - - - - - - - - - --> 165 <sect2 arch="ml_32,ml_all" role="installation"> 166 <title>Installation of Udev - 32bit</title> 167 168 <para>Clean previous build (while still in the build directory):</para> 169 170 <screen><userinput remap="pre">rm -rf *</userinput></screen> 171 172 <para>Prepare File for compilation:</para> 173 174 <screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/lib32/pkgconfig" \ 175 CC="gcc -m32 -march=i686" \ 176 CXX="g++ -m32 -march=i686" \ 177 LANG=en_US.UTF-8 \ 178 meson setup \ 179 --prefix=/usr \ 180 --buildtype=release \ 181 -Dmode=release \ 182 -Ddev-kvm-mode=0660 \ 183 -Dlink-udev-shared=false \ 184 ..</userinput></screen> 185 186 <para>Compile the package:</para> 187 188 <screen><userinput remap="make">ninja \ 189 $(grep -o -E "^build (src/libudev|src/udev)[^:]*" \ 190 build.ninja | awk '{ print $2 }') \ 191 $(realpath libudev.so --relative-to .)</userinput></screen> 192 193 <para>Install the package:</para> 194 195 <screen><userinput remap="install">mkdir -pv /usr/lib32/pkgconfig && 196 cp -av libudev.so{,*[0-9]} /usr/lib32/ && 197 sed -e "s;/usr/lib;&32;g" src/libudev/libudev.pc > /usr/lib32/pkgconfig/libudev.pc</userinput></screen> 198 199 </sect2><!-- m32 --> 200 201 <!-- - - - - - - - - - --> 202 <!-- Multilib - x32bit --> 203 <!-- - - - - - - - - - --> 204 <sect2 arch="ml_x32,ml_all" role="installation"> 205 <title>Installation of Udev - x32bit</title> 206 <para>Clean previous build (while still in the build directory):</para> 207 208 <screen><userinput remap="pre">rm -rf *</userinput></screen> 209 210 <para>Prepare File for compilation:</para> 211 212 <screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/libx32/pkgconfig" \ 213 CC="gcc -mx32" \ 214 CXX="g++ -mx32" \ 215 CFLAGS+=" -Wno-error=shift-overflow" \ 216 CXXFLAGS+=" -Wno-error=shift-overflow" \ 217 LANG=en_US.UTF-8 \ 218 meson setup \ 219 --prefix=/usr \ 220 --buildtype=release \ 221 -Dmode=release \ 222 -Ddev-kvm-mode=0660 \ 223 -Dlink-udev-shared=false \ 224 ..</userinput></screen> 225 226 <para>Compile the package:</para> 227 228 <screen><userinput remap="make">ninja \ 229 $(grep -o -E "^build (src/libudev|src/udev)[^:]*" \ 230 build.ninja | awk '{ print $2 }') \ 231 $(realpath libudev.so --relative-to .)</userinput></screen> 232 233 <para>Install the package:</para> 234 235 <screen><userinput remap="install">mkdir -pv /usr/libx32/pkgconfig && 236 cp -av libudev.so{,*[0-9]} /usr/libx32/ && 237 sed -e "s;/usr/lib;&x32;g" src/libudev/libudev.pc > /usr/libx32/pkgconfig/libudev.pc</userinput></screen> 238 239 </sect2><!-- mx32 --> 240 162 241 <sect2 id="conf-udev" role="configuration"> 163 242 <title>Configuring Udev</title>
Note:
See TracChangeset
for help on using the changeset viewer.