I am trying to compile some C++ code, but I get this error:
In file included from /usr/include/c++/13/stdlib.h:36,
/usr/include/c++/13/cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
41 | #include <bits/c++config.h>
I thought that this file was included in package
libstdc++-devel, but it is not.
What package is missing from my fedora 38 system?
Can you provide a short c++ program that shows the issue and the command used to compile it please?
dnf provides */c++config.h and found many different packages that provide versions of that file. Not all have the same path but the package you list does provide it under
libstdc++-devel-13.1.1-4.fc38.x86_64 : Header files and libraries for C++ development
Repo : updates
Filename : /usr/include/c++/13/x86_64-redhat-linux/32/bits/c++config.h
Filename : /usr/include/c++/13/x86_64-redhat-linux/bits/c++config.h