This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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 7has 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!
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |