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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-23-2013, 08:00 PM
|
#1
|
|
Member
Registered: Apr 2011
Distribution: Ubuntu
Posts: 40
Rep: 
|
lfs7.2 chapter 6.17 GCC toolchain
Everything looks right except the following one.
Quote:
|
grep -B4 '^ /usr/include' dummy.log
|
The book says that the output should be...
Quote:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc/i686-pc-linux-gnu/4.7.1/include
/usr/lib/gcc/i686-pc-linux-gnu/4.7.1/include-fixed
/usr/include
|
But mine is like...
Quote:
#include <...> search starts here:
/usr/lib/gcc/i686-pc-linux-gnu/4.7.1/include
/usr/local/include
/usr/lib/gcc/i686-pc-linux-gnu/4.7.1/include-fixed
/usr/include
|
The order is different. Is this okay?
|
|
|
|
02-23-2013, 08:12 PM
|
#2
|
|
Member
Registered: May 2007
Posts: 288
Rep:
|
This isn't a direct answer to the question, but I've noticed that before. Often. I never gave it any thought. Maybe some others can add support to that, and we can forget about it.
P.S.: Did you start over? Yesterday you were working on configuring the kernel.
Last edited by stoat; 02-23-2013 at 08:14 PM.
|
|
|
|
02-23-2013, 09:37 PM
|
#3
|
|
Member
Registered: Apr 2011
Distribution: Ubuntu
Posts: 40
Original Poster
Rep: 
|
This one is another machine using Ubuntu as host...
I will try what you suggested on Monday since I don't have the machine right now with me... And I could not able to instal Ubuntu on this machine so I tried with LFS Live-CD. That's why I did version 6.8.
|
|
|
|
02-24-2013, 04:20 AM
|
#4
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,691
|
I have the same experience as stoat: Although all the correct entries are present, the order differs. This has never been a problem for me in the past.
|
|
|
|
02-24-2013, 06:40 AM
|
#5
|
|
Member
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 532
Rep: 
|
Same here:
Code:
grep -B4 '^ /usr/include' dummy.log
#include <...> search starts here:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include
/usr/local/include
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include-fixed
/usr/include
I have also seen this before but it doesn't seem to make a difference, I guess the most important bit is that the /usr/local directory is searched before the system directory's for includes, libs etc.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:20 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|