Kai Ruottu kirjoitti 1.12.2017 klo 12:02:
Marek kirjoitti 1.12.2017 klo 10:51:
It seems the last error preceeding the "suffix" error is "no include
path in which to search for stdc-predef.h"
I wonder where to find stdc-predef.h or whether it's generated by gcc
during compile time.

This file comes with newer glibc versions. For instance glibc-2.17 coming with CentOS 7
has it in its '/usr/include'. Older glibc versions don't have it...

I'm also compiling against musl.

No experience with that libc (https://www.musl-libc.org). Should it include the 'stdc-predef.h'
in its '/usr/include'?

Answering to my own question... Yes, it should include this :

https://git.musl-libc.org/cgit/musl/tree/include

Maybe there is another target name one should use like 'x86_64-lfs-linux-musl' in your case?

The docs for musl are telling just this, one should use the '<arch>-linux-musl' triplet!


Reply via email to