[55d7adc] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY libsigsegv-download-http "&gnu-http;/libsigsegv/libsigsegv-&libsigsegv-version;.tar.gz">
|
---|
| 8 | <!ENTITY libsigsegv-download-ftp "&gnu-ftp;/libsigsegv/libsigsegv-&libsigsegv-version;.tar.gz">
|
---|
[8b96af1] | 9 | <!ENTITY libsigsegv-md5sum "63a2b35f11b2fbccc3d82f9e6c6afd58">
|
---|
| 10 | <!ENTITY libsigsegv-size "456 KB">
|
---|
| 11 | <!ENTITY libsigsegv-buildsize "3.6 MB (with tests)">
|
---|
[ba768b1] | 12 | <!ENTITY libsigsegv-time "less than 0.1 SBU (with tests)">
|
---|
[55d7adc] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libsigsegv" xreflabel="libsigsegv-&libsigsegv-version;">
|
---|
| 16 | <?dbhtml filename="libsigsegv.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>libsigsegv-&libsigsegv-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="libsigsegv">
|
---|
| 25 | <primary sortas="a-libsigsegv">libsigsegv</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to libsigsegv</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
[cd074c2] | 32 | libsigsegv is a library for handling page faults in user mode. A page fault
|
---|
[55d7adc] | 33 | occurs when a program tries to access to a region of memory that is
|
---|
| 34 | currently not available. Catching and handling a page fault is a useful
|
---|
| 35 | technique for implementing pageable virtual memory, memory-mapped access
|
---|
| 36 | to persistent databases, generational garbage collectors, stack overflow
|
---|
| 37 | handlers, and distributed shared memory.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[3f4dc82] | 40 | &lfs111_checked;
|
---|
[55d7adc] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&libsigsegv-download-http;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&libsigsegv-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download MD5 sum: &libsigsegv-md5sum;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Download size: &libsigsegv-size;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated disk space required: &libsigsegv-buildsize;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated build time: &libsigsegv-time;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | <para condition="html" role="usernotes">
|
---|
| 77 | User Notes: <ulink url="&blfs-wiki;/libsigsegv"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of libsigsegv</title>
|
---|
| 84 |
|
---|
| 85 | <para>
|
---|
| 86 | Install <application>libsigsegv</application> by running the following commands:
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 90 | --enable-shared \
|
---|
| 91 | --disable-static &&
|
---|
[d6d8d49c] | 92 | make</userinput></screen>
|
---|
[55d7adc] | 93 |
|
---|
[d56e7df] | 94 | <para>
|
---|
| 95 | To test the results, issue: <command>make check</command>.
|
---|
| 96 | </para>
|
---|
[55d7adc] | 97 |
|
---|
| 98 | <para>
|
---|
| 99 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="commands">
|
---|
| 107 | <title>Command Explanations</title>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
[f1d7196] | 110 | <parameter>--enable-shared</parameter>: This switch ensures that shared
|
---|
[55d7adc] | 111 | libraries are compiled.
|
---|
| 112 | </para>
|
---|
[cd074c2] | 113 |
|
---|
[55d7adc] | 114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 115 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
| 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Programs</segtitle>
|
---|
| 124 | <segtitle>Installed Library</segtitle>
|
---|
| 125 | <segtitle>Installed Directories</segtitle>
|
---|
| 126 |
|
---|
| 127 | <seglistitem>
|
---|
| 128 | <seg>
|
---|
| 129 | None
|
---|
| 130 | </seg>
|
---|
| 131 | <seg>
|
---|
| 132 | libsigsegv.so
|
---|
| 133 | </seg>
|
---|
| 134 | <seg>
|
---|
| 135 | None
|
---|
| 136 | </seg>
|
---|
| 137 | </seglistitem>
|
---|
| 138 | </segmentedlist>
|
---|
| 139 |
|
---|
| 140 | <variablelist>
|
---|
| 141 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 142 | <?dbfo list-presentation="list"?>
|
---|
| 143 | <?dbhtml list-presentation="table"?>
|
---|
| 144 |
|
---|
| 145 | <varlistentry id="libsigsegv-lib">
|
---|
| 146 | <term><filename class="libraryfile">libsigsegv.so</filename></term>
|
---|
| 147 | <listitem>
|
---|
| 148 | <para>
|
---|
[4c24eb0a] | 149 | is a library for handling page faults in user mode
|
---|
[55d7adc] | 150 | </para>
|
---|
| 151 | <indexterm zone="libsigsegv libsigsegv-lib">
|
---|
| 152 | <primary sortas="c-libsigsegv">libsigsegv.so</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | </variablelist>
|
---|
| 158 |
|
---|
| 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | </sect1>
|
---|