diff options
Diffstat (limited to 'chapter06/libelf.xml')
-rw-r--r-- | chapter06/libelf.xml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/chapter06/libelf.xml b/chapter06/libelf.xml index 9d1c3b1c6..de9cac192 100644 --- a/chapter06/libelf.xml +++ b/chapter06/libelf.xml @@ -44,13 +44,6 @@ <para>Libelf is part of elfutils-&elfutils-version; package. Use the elfutils-&elfutils-version;.tar.xz as the source tarball.</para> - <para>First, fix a file to be compatible with gcc-8"</para> - -<screen><userinput remap="pre">sed -e '/ALIGN_PRSTATUS)/{ - s/__attribute/attribute_packed &/ - s/packed, //}' \ - -i backends/linux-core-note.c</userinput></screen> - <para>Prepare Libelf for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> @@ -59,7 +52,9 @@ <screen><userinput remap="make">make</userinput></screen> - <para>To test the results, issue <command>make check</command>.</para> + <para>To test the results, issue:</para> + +<screen><userinput remap="test">make check</userinput></screen> <para>Install only Libelf:</para> |