Thanks Cag,

building several applications like this on a host works fine. But how do I get 
a statically-linked native toolchain for my target system? The cloned toolchain 
from git is all dynamic.


Cheers
Bruno






Von: Cág <c...@riseup.net>
Gesendet: Montag, 3. Oktober 2016 21:28
An: dev mail list
Betreff: Re: [dev] [stali] Need musl based toolchain on stali installation
    
Bruno Vetter wrote:

> Can someone give me some hints on how to achieve this?

Hi,

All you have to do is (at least how I've once tried it):
1. Create a directory for your build.
2. cd to it.
3. clone toolchain and src from Git.
4. cd src
5. Clone the kernel
6. export STALISRC=/path/to/$builddir/src
7. modify config.mk
8. make and make install
9. ???
10. PROFIT

By the way, stali is musl and only musl-based. Building it against glibc
is blasphemous.

Peace,
Cág

    

Reply via email to