Changes in chapter08/libcap.xml [4622193e:edd83dc]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/libcap.xml
r4622193e redd83dc 82 82 </sect2> 83 83 84 <!-- - - - - - - - - - --> 85 <!-- Multilib - 32bit --> 86 <!-- - - - - - - - - - --> 87 88 <sect2 arch="ml_32,ml_all" role="installation"> 89 <title>Installation of Libcap - 32bit</title> 90 91 <para>Clean previous build:</para> 92 93 <screen><userinput remap="pre">make distclean</userinput></screen> 94 95 <para>Compile the package:</para> 96 97 <screen><userinput remap="make">make CC="gcc -m32 -march=i686"</userinput></screen> 98 99 <para>Install the package:</para> 100 101 <screen><userinput remap="install">make lib=lib32 prefix=$PWD/DESTDIR/usr -C libcap install 102 cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32; 103 sed -e "s|^libdir=.*|libdir=&usr-lib-m32;|" -i &usr-lib-m32;/pkgconfig/lib{cap,psx}.pc 104 chmod -v 755 &usr-lib-m32;/libcap.so.&libcap-version; 105 rm -rf DESTDIR</userinput></screen> 106 107 </sect2><!-- m32 --> 108 109 <!-- - - - - - - - - - --> 110 <!-- Multilib - x32bit --> 111 <!-- - - - - - - - - - --> 112 113 <sect2 arch="ml_x32,ml_all" role="installation"> 114 <title>Installation of Libcap - x32bit</title> 115 116 <para>Clean previous build:</para> 117 118 <screen><userinput remap="pre">make distclean</userinput></screen> 119 120 <para>Compile the package:</para> 121 122 <screen><userinput remap="make">make CC="gcc -mx32 -march=x86-64"</userinput></screen> 123 124 <para>Install the package:</para> 125 126 <screen><userinput remap="install">make lib=libx32 prefix=$PWD/DESTDIR/usr -C libcap install 127 cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32; 128 sed -e "s|^libdir=.*|libdir=&usr-lib-mx32;|" -i &usr-lib-mx32;/pkgconfig/lib{cap,psx}.pc 129 chmod -v 755 &usr-lib-mx32;/libcap.so.&libcap-version; 130 rm -rf DESTDIR</userinput></screen> 131 132 </sect2><!-- mx32 --> 133 84 134 <sect2 id="contents-libcap" role="content"> 85 135 <title>Contents of Libcap</title>
Note:
See TracChangeset
for help on using the changeset viewer.