LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 9.0 "GCC-9.2.0 - Pass 1" does not create c++ include directory at correct place (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-9-0-gcc-9-2-0-pass-1-does-not-create-c-include-directory-at-correct-place-4175666624/)

tapx 12-27-2019 11:38 AM

LFS 9.0 "GCC-9.2.0 - Pass 1" does not create c++ include directory at correct place
 
Hi,
When following LFS 9.0 in section 5.8. :

building Libstdc++ from GCC-9.2.0
compiling with configure option :
--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/9.2.0
fails.

$LFS_TGT=x86_64-lfs-linux-gnu

The directory /mnt/lfs/tools/$LFS_TGT/include/c++/9.2.0 is not created.

Instead the headers seem to be in /mnt/lfs/tools/lib/gcc/x86_64-lfs-linux-gnu/9.2.0/include

Is this a known problem ?

Best wishes,
Sebastien

tapx 12-27-2019 12:55 PM

My mistake.

I redid the whole process.

It seems i had messed up in the previous stage but I can't say exactly where.

Now it works and the previously missing directory is there.

Not sure though if it is created by the make install of the glibc pass 1 or later.

suanand 09-29-2020 03:46 AM

I'm also facing the same even for lfs-10.0 on armv7l-unknown-linux-gnueabihf (and I redid everything more than 4 times.. to locate this - this should be somewhere in glibc make install)

Now sure, however - this path may be equivalent to /usr/include/c++/%{version}/


All times are GMT -5. The time now is 06:32 PM.