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