summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-03-09 18:03:21 +0000
committerRob Landley <rob@landley.net>2006-03-09 18:03:21 +0000
commitd48633fa6f38376c0778882398bc2e37153ab56b (patch)
treef20d26600258147303a57f9feac80ebd3ecb21fc /docs
parent49a5599ae95580b05535cb16467ffb0c2a20b66e (diff)
downloadbusybox-w32-d48633fa6f38376c0778882398bc2e37153ab56b.tar.gz
busybox-w32-d48633fa6f38376c0778882398bc2e37153ab56b.tar.bz2
busybox-w32-d48633fa6f38376c0778882398bc2e37153ab56b.zip
They won't stop asking, but we can point them to the specific entry...
Diffstat (limited to 'docs')
-rw-r--r--docs/busybox.net/FAQ.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/busybox.net/FAQ.html b/docs/busybox.net/FAQ.html
index 3e4aa28c2..b21f722b6 100644
--- a/docs/busybox.net/FAQ.html
+++ b/docs/busybox.net/FAQ.html
@@ -10,6 +10,7 @@ have additions to this FAQ document, we would love to add them,
10<ol> 10<ol>
11<li><a href="#getting_started">How can I get started using BusyBox?</a> 11<li><a href="#getting_started">How can I get started using BusyBox?</a>
12<li><a href="#build_system">How do I build a BusyBox-based system?</a> 12<li><a href="#build_system">How do I build a BusyBox-based system?</a>
13<li><a href="#init">Busybox init isn't working!</a>
13<li><a href="#kernel">Which Linux kernel versions are supported?</a> 14<li><a href="#kernel">Which Linux kernel versions are supported?</a>
14<li><a href="#arch">Which architectures does BusyBox run on?</a> 15<li><a href="#arch">Which architectures does BusyBox run on?</a>
15<li><a href="#libc">Which C libraries are supported?</a> 16<li><a href="#libc">Which C libraries are supported?</a>
@@ -113,6 +114,33 @@ have additions to this FAQ document, we would love to add them,
113 For more instructions, see the website. 114 For more instructions, see the website.
114</p> 115</p>
115 116
117<hr />
118<p>
119<h2><a name="init">Busybox init isn't working!</a></h2>
120<p>
121 Build a statically linked version of the following "hello world" program
122 with your cross compiler toolchain.
123</p>
124<pre>
125#include &lt;stdio.h&gt;
126
127int main(int argc, char *argv)
128{
129 printf("Hello world!\n");
130 sleep(999999999);
131}
132</pre>
133
134<p>
135 Now try to boot your device with an "init=" argument pointing to your
136 hello world program. Did you see the hello world message? Until you
137 do, don't bother messing with busybox init.
138</p>
139
140<p>
141 Once you've got it working statically linked, try getting it to work
142 dynamically linked. Then read the FAQ entry before this one.
143</p>
116 144
117<hr /> 145<hr />
118<p> 146<p>