Thanks for the reply. What I need are all the files that are in /usr/include, at the $prefix/include location. I'm building a package for flatpak and I need everything that gcc uses and makes it work to be contained in the directory specified by $prefix. I was thinking about simply copying it from the system but it seems to me that it's not the right thing to do and maybe it won't work. El mar, 6 feb 2024 a la(s) 2:22 p.m., Jonathan Wakely (jwakely.gcc@gmail.com) escribió: > On Tue, 6 Feb 2024 at 17:38, T Rex via Gcc-help > wrote: > > > > Good morning everyone, > > > > I am compiling gcc-13.2 with the following configuration, > > > > ./configure > > Don't run configure in the source directory. See > https://gcc.gnu.org/wiki/InstallingGCC > > > --disable-multilib --enable-languages=c,c++ --enable-multiarch > > --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu > > --enable-deterministic-archives --disable-bootstrap --enable-default-pie > > --enable-default-ssp --disable-libssp --enable-linker-build-id > > --disable-libstdcxx-filesystem-ts --enable-shared > > --prefix=/home/runner/work/gcc/gcc/builds > > > > and the process is successful. But when reviewing the include directory, > it > > Which include directory? > > > is empty, with only the g++ directory and its contents, I would like all > > Do you mean c++ directory? > > > the files necessary for the compiler to be in the folder. I don't know if > > it's a configuration error or something additional needs to be done. > > Which files are you expecting to be there? > > The C library headers are not part of GCC, they are already installed > elsewhere, like /usr/include > > And many of GCC's headers will be under > $prefix/lib/gcc/x86_64-pc-linux-gnu/13.2.0/include >