Minor update on init not working.

This commit is contained in:
Rob Landley 2006-06-29 04:59:11 +00:00
parent a6e6037219
commit c5e4ab7fe6

View File

@ -349,8 +349,11 @@ within each applet. More build coverage testing.</p></li>
<p> <p>
<h2><a name="init">Busybox init isn't working!</a></h2> <h2><a name="init">Busybox init isn't working!</a></h2>
<p> <p>
Build a statically linked version of the following "hello world" program Init is the first program that runs, so it might be that no programs are
with your cross compiler toolchain. working on your new system because of a problem with your cross-compiler,
kernel, console settings, shared libraries, root filesystem... To rule all
that out, first build a statically linked version of the following "hello
world" program with your cross compiler toolchain:
</p> </p>
<pre> <pre>
#include &lt;stdio.h&gt; #include &lt;stdio.h&gt;
@ -371,7 +374,9 @@ int main(int argc, char *argv)
<p> <p>
Once you've got it working statically linked, try getting it to work Once you've got it working statically linked, try getting it to work
dynamically linked. Then read the FAQ entry <a href="#build_system">How dynamically linked. Then read the FAQ entry <a href="#build_system">How
do I build a BusyBox-based system?</a> do I build a BusyBox-based system?</a>, and the
<a href="/downloads/BusyBox.html#item_init">documentation for BusyBox
init</a>.
</p> </p>
<hr /> <hr />