LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-27-2019, 11:38 AM   #1
tapx
LQ Newbie
 
Registered: Dec 2019
Posts: 2

Rep: Reputation: Disabled
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

Last edited by tapx; 12-27-2019 at 12:43 PM.
 
Old 12-27-2019, 12:55 PM   #2
tapx
LQ Newbie
 
Registered: Dec 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-29-2020, 03:46 AM   #3
suanand
LQ Newbie
 
Registered: Sep 2020
Posts: 1

Rep: Reputation: Disabled
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}/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS: Error during GCC-4.7.1-Pass 1 (LFS 7.2, Section 5.5) erkant Linux From Scratch 7 11-28-2012 06:03 AM
[SOLVED] Recursively include headers in include option for gcc kvm1983 Linux - Newbie 5 09-04-2012 03:21 PM
/usr/include/linux directory or <mykernel>/include/linux directory? redjupiter58 Programming 0 06-04-2011 03:25 PM
[SOLVED] what is gcc include path/ linux include path ghantauke Linux - Newbie 1 03-08-2011 08:34 PM
gcc second pass does not compile. LFS version 6.4 5.12 arielsegal Linux From Scratch 18 06-15-2009 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration