Hi Anselm, yes, it's tedious and I understand that it's not crucial to have the toolchain statically linked. Trying to do so also brings up a lot of questions that I cannot answer easily. For example a statically linked linker apparently does not support an lto plugin. I have no idea if that would be acceptable for a toolchain.
I might just go on with the existing toolchain as you describe. Thanks much for your help. Bruno Von: Anselm R Garbe <garb...@gmail.com> Gesendet: Freitag, 7. Oktober 2016 13:02 An: dev mail list Betreff: Re: [dev] [stali] Need musl based toolchain on stali installation On 7 October 2016 at 12:27, Cág <c...@riseup.net> wrote: > Anselm R Garbe wrote: > >> It is pretty easy. Use the toolchain as is and copy some glibc based >> .so's for x86_64 to /crap/lib on the stali target as well. > > But it will not be statically linked then, as OP asked for. Building a statically linked toolchain is a very tedious task. The important aspect is that the target system is statically linked, I wouldn't bother too much about the toolchain itself. I tried it myself for a couple of months, but finally gave up. But my requirements were harder, I wanted to get the toolchain built statically with custom stali.mk's. Best regards, Anselm