[BusyBox] cfdisk & mke2fs

Jean-marc Harang jean-marc.harang at laposte.net
Thu Oct 24 08:30:03 UTC 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Jeudi 24 Octobre 2002 12:04, Zachar Mihaly a écrit :
> Hi All,

Hi

> I have read a lot of about this mailing list, but I haven't found how can i
> compile another applications into my busybox..
>
> Is it possible ?

Yes. I suggest you read carefully the docs of uClibc. 

> I need cfdisk and mek2fs program under my busybox.
>
> If it is not possible, how can I run other programs, what are not part of
> my busybox?

You have to compile the apps (from the source, of course) you needs with uClibc, "against" the standart libc, 
if you doesn't use this one. It's the same process than busybox.

for that, you add to do (most of time) something like this : 

configure (if any)
make CC=<the path where you install uClibc on your host>/bin/<targets depend>-gcc

In fact, you build your apps with the gcc & ld wrappers of uClibc. Verify after the link with the ldd of uClibc (in bin directory) 
and look at the dynamic libs used by your apps.

Cheers,

- -- 
A+

jmh
PS : i'm a new french user on this list. But very interested about embedded linux... :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9t/6cYilIC5+/QnYRAikBAJ4oXdO7TbMf9H5dtWoGQTC2x1ZWnACfT1To
BTo/zZxEbrz+tL57zHsHTw0=
=/QDp
-----END PGP SIGNATURE-----




More information about the busybox mailing list