[Buildroot] How to choose C library dependencies

Илья Валеев ilya-valeev at yandex.ru
Wed May 18 19:57:09 UTC 2016


Hello!

How to use your method? (or where can I search for explanation?)


17.05.2016 02:19, Thomas Petazzoni пишет:
> Hello,
>
> On Sun, 15 May 2016 01:54:07 +0200, Arnout Vandecappelle wrote:
>
>>> I want to compile ejabberd and run it on my router. I choose erlang package with
>>> SMP support and all modules and ejabberd package, does not configure defconfig.
>>> Then I run /make ejabberd/, copy ejabberd, erlang and busybox from /target/
>>> folder to router and run it.  
>>   Buildroot in't really meant for that kind of scenario. That said, it should be 
>> possible to do it. Basically you must create a toolchain that matches exactly 
>> with what is already installed on the target.
> Or:
>
>  1/ Use a statically linked binary.
>
>  2/ Use a chroot.
>
> In both cases, you must make sure that the C library uses kernel
> headers that are at least as old at the kernel running on your target.
>
> Thomas

-- 
Идентификатор открытого ключа: 1D38C8C9
Отпечаток: 6210 01B6 A34E E490 A9E4  87DD 841D 0ABE 1D38 C8C9

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160519/c8876e79/attachment-0002.html>


More information about the buildroot mailing list