AW: [dev] [stali] Need musl based toolchain on stali installation

From: Bruno Vetter <simplelife2010_AT_outlook.com>
Date: Thu, 6 Oct 2016 21:50:47 +0000

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 <caoc_AT_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

    
Received on Thu Oct 06 2016 - 23:50:47 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 07 2016 - 00:00:26 CEST