1 |
1325 |
phoenix |
<!--#include file="header.html" -->
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
<h3>Toolchains</h3>
|
5 |
|
|
To use uClibc, you need to have a toolchain, which is composed
|
6 |
|
|
of <a href="http://sources.redhat.com/binutils/">binutils</a>,
|
7 |
|
|
<a href="http://gcc.gnu.org/">gcc</a>, and of course uClibc.
|
8 |
|
|
|
9 |
|
|
<ul>
|
10 |
|
|
|
11 |
|
|
<li>You can build your own
|
12 |
|
|
<a href="/cgi-bin/cvsweb/toolchain/gcc-3.3.x/">uClibc toolchain</a>
|
13 |
|
|
using this to automagically download all the needed source code
|
14 |
|
|
and compile everything for you.
|
15 |
|
|
<p>
|
16 |
|
|
|
17 |
|
|
<li>Steven J. Hill has kindly provided
|
18 |
|
|
<a href="ftp://ftp.realitydiluted.com/linux/MIPS/toolchains">RPMs and SRPMs</a>
|
19 |
|
|
with toolchains for mips.
|
20 |
|
|
<p>
|
21 |
|
|
|
22 |
|
|
<li>You can compile your own uClibc development system using
|
23 |
|
|
<a href="/cgi-bin/cvsweb/buildroot/">buildroot</a>.
|
24 |
|
|
<p>
|
25 |
|
|
|
26 |
|
|
<li>Prebuilt uClibc development systems for
|
27 |
|
|
<a href="http://www.kernel.org/pub/linux/libs/uclibc/root_fs_i386.bz2">i386</a>
|
28 |
|
|
and
|
29 |
|
|
<a href="http://www.kernel.org/pub/linux/libs/uclibc/root_fs_arm.bz2">arm</a>
|
30 |
|
|
and
|
31 |
|
|
<a href="http://www.kernel.org/pub/linux/libs/uclibc/root_fs_mipsel.bz2">mipsel</a>
|
32 |
|
|
are available and contain complete native gcc 3.3.2 toolchains. These
|
33 |
|
|
are development systems are ext2 filesystems that runs natively on the
|
34 |
|
|
specified architecture. They contain all the development software you
|
35 |
|
|
need to build your own uClibc applications, including bash, coreutils,
|
36 |
|
|
findutils, diffutils, patch, sed, ed, flex, bison, file, gawk, tar,
|
37 |
|
|
grep gdb, strace, make, gcc, g++, autoconf, automake, ncurses, zlib,
|
38 |
|
|
openssl, openssh perl, and more. And of course, everything is
|
39 |
|
|
dynamically linked against uClibc. By using a uClibc only system, you
|
40 |
|
|
can avoid all the painful cross-configuration problems that have made
|
41 |
|
|
using uClibc somewhat painful in the past. If you want to quickly get
|
42 |
|
|
started with testing or using uClibc you should give these images a
|
43 |
|
|
try. You can loop mount them and then chroot into them. You can boot
|
44 |
|
|
into them using user-mode Linux. You can even 'dd' them to a spare
|
45 |
|
|
partition and use resize2fs to make them fill the drive, and then boot
|
46 |
|
|
into them. Whatever works for you.
|
47 |
|
|
<p>
|
48 |
|
|
|
49 |
|
|
</ul>
|
50 |
|
|
|
51 |
|
|
<!--#include file="footer.html" -->
|
52 |
|
|
|