On Oct 7, 2016 7:24 AM, "Bruno Vetter" <simplelife2...@outlook.com> wrote:
> 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.

What "header file not found" issue did you hit with musl-cross-make?
I've used it successfully to build a native statically-linked
toolchain, although I ran into and worked around a couple of issues.

If you like, I have uploaded a pre-built toolchain[0] for my own project.

Yes, I believe LTO doesn't work with a statically-linked gcc/binutils.

[0] https://github.com/michaelforney/oasis-toolchain

Reply via email to