#set TITLE Foundational Library
#set PRINT 1
#include "header.xhtml"
  <h1 class="h1-no-script">Foundational Library</h1>
  <a class="a-no-script" href="/software/libfndn/libfndn.cpio">Fetch the software</a>
  <p class="p-no-script">A foundational library for multiple UNIX-like systems. Its designed to be linked with C programs, so there are
    headers for C. All but the C declarations are written in Assembly.</p>

  <p class="p-no-script">This library supports the following targets:</p>
  <ul>
    <li>Linux ARM</li>
    <li>Linux i386</li>
    <li>NetBSD ARM</li>
    <li>NetBSD i386</li>
    <li>Minix-2 i86</li>
  </ul>
  <h2>Building</h2>
  <p class="p-no-script">To build, you need to install the GNU Assembler and GNU Archiver or Tiny C Compiler. If you want to
    utilize the build system, you'll need to install the Bourne shell.</p>

  <p class="p-no-script">To manually build the library with the Thompson or Bourne shell for the i386 architecture on Linux, run:</p>
  <pre><code>
as arch/i386/*.s
mv arch/i386/start.o .
ar -rcs libfndn.a arch/i386/*.o
   </code></pre>
   <p class="p-no-script">To automatically build the library with the Bourne shell, run:</p>
   <pre><code>
./redo.sh defconfig
./redo.sh
   </code></pre>
   <p class="p-no-script">If you've installed Make, then you can replace <code>./redo.sh</code> with <code>make</code>. The functionality
     is the same.</p>
   <h2>Documentation</h2>
   <p class="p-no-script">Reference materials are available in the <code>docs</code> directory. All of it has been formatted
     in plain text for you. The format can be easily changed by editing the NROFF source code and
     formatting it with the <code>nroff</code> command. No external macros are used.</p>
   <h2>Credit and Copying</h2>
   <p class="p-no-script">Written by Stone Horse. This work is dedicated to the public domain. Do with it what you please.</p>
#include "footer.xhtml"
