LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-23-2013, 08:00 PM   #1
yjy4321
Member
 
Registered: Apr 2011
Distribution: Ubuntu
Posts: 42

Rep: Reputation: Disabled
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?
 
Old 02-23-2013, 08:12 PM   #2
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 473

Rep: Reputation: 133Reputation: 133
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.
 
Old 02-23-2013, 09:37 PM   #3
yjy4321
Member
 
Registered: Apr 2011
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: Disabled
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.
 
Old 02-24-2013, 04:20 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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.
 
Old 02-24-2013, 06:40 AM   #5
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 879

Rep: Reputation: 174Reputation: 174
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
libmpfr error in GCC compilation (LFS7.2) Prabhu.Are Linux From Scratch 27 02-01-2013 09:29 AM
LFS7.2, problem when chapter 6.10: adjusting the toolchain, can not change gcc specs SuMZ Linux From Scratch 7 01-11-2013 07:31 PM
[SOLVED] LFS Book 6.8 Chapter 6.10 Re-adjusting the toolchain eliadk Linux From Scratch 10 10-11-2011 04:50 AM
LFS 6.3, messed up somewhere prior to chapter 6.12 (gcc), how to restart chapter 6? Funkster Linux From Scratch 2 12-24-2008 06:30 AM
No output from sanity check, chapter 5.7.*Adjusting the Toolchain Murdock_nl Linux From Scratch 2 09-13-2008 12:59 AM


All times are GMT -5. The time now is 02:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration