summary refs log tree commit diff
path: root/doc/usedietlibc.html
blob: 42f939894cd50a00e0e77d2d691854f47459b57e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>runit - use dietlibc</title>
</head>
<body>
<a href="http://smarden.org/pape/">G. Pape</a><br>
<a href="index.html">runit</a><br>
<hr>
<h1>runit - use dietlibc</h1>
<hr>
To recompile the <i>socklog</i> programs with the
<a href="http://www.fefe.de/dietlibc/">diet libc</a>, check that you have
the recent version of
<a href="http://www.fefe.de/dietlibc/">dietlibc</a> installed.
<p>
Change to the package directory of <i>runit</i>:
<pre>
  # cd /package/admin/runit/
</pre>
Change the <tt>conf-cc</tt> and <tt>conf-ld</tt> to use <tt>diet</tt>:
<pre>
  # echo 'diet gcc -O2 -Wall' &gt;src/conf-cc
  # echo 'diet gcc -s -Os -pipe' &gt;src/conf-ld
</pre>
Rebuild and install the <i>runit</i> programs:
<pre>
  # package/install
</pre>
<hr>
<address><a href="mailto:pape@smarden.org">
Gerrit Pape &lt;pape@smarden.org&gt;
</a></address>
<small>$Id$</small>
</body>
</html>