LinuxQuestions.org
Review your favorite Linux distribution.
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-15-2012, 04:09 AM   #1
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,415

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
Adjusting tool chain question LFS 7.2 AMD-64


I just adjusted my tool chain & all of the test outputs were ok except possibly 1

This ic the command
Code:
grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'
Here's the output
SEARCH_DIR("/tools/x86_64-unknown-linux-gnu/lib64")
SEARCH_DIR("/tools/x86_64-unknown-linux-gnu/lib")
SEARCH_DIR("/usr/lib")
SEARCH_DIR("/lib");
It'the "unknown" that I question

Another thing I noticed is in gcc-pass-2 chapter 5.9 there's an entry that is for setting flags for x86 machine
Quote:
For x86 machines, a bootstrap build of GCC uses the -fomit-frame-pointer compiler flag. Non-bootstrap builds omit this flag by default, and the goal should be to produce a compiler that is exactly the same as if it were bootstrapped. Apply the following sed command to force the build to use the flag:

Code:
cp -v gcc/Makefile.in{,.tmp}
sed 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \
  > gcc/Makefile.in
Should I have removed it? I am now at Gcc Chapater 6.17 should I just omit from this build of gcc or start over?

Last edited by EDDY1; 12-15-2012 at 05:04 AM.
 
Old 12-15-2012, 08:30 AM   #2
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 836

Rep: Reputation: 167Reputation: 167
I wouldn't have thought the "unknown" part is important though in my tools folder its "/tools/x86_64-lfs-linux-gnu/lib" as long as the tools are being found and compiled correctly the "unknown" or in my case "lfs-linux-gnu" bit is just an identifier, I seem to recall a bit at the beginning of the CLFS about the naming of the tools.
 
Old 12-15-2012, 12:21 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,415

Original Poster
Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
The test for Gcc in Chapater 6.17 errored out so I started from scratch.
 
Old 12-27-2012, 11:43 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,415

Original Poster
Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
I've found answer to
Quote:
/tools/x86_64-unknown-linux-gnu/lib64
Quote:
tooldir=/usr
Normally, the tooldir (the directory where the executables will ultimately be located) is set to $(exec_prefix)/$(target_alias). For example, x86_64 machines would expand that to /usr/x86_64-unknown-linux-gnu. Because this is a custom system, this target-specific directory in /usr is not required. $(exec_prefix)/$(target_alias) would be used if the system was used to cross-compile (for example, compiling a package on an Intel machine that generates code that can be executed on PowerPC machines).

Last edited by EDDY1; 12-27-2012 at 11:45 PM.
 
  


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
adjusting tool chain section 5.8 i686-lfs-linux-gnu-gcc: command not found rlaybourn Linux From Scratch 7 10-14-2010 08:23 AM
error in adjusting tool chain in LFS 6.3 chandra123 Linux From Scratch 6 03-19-2008 07:02 AM
adjusting tool chain chandra123 Linux From Scratch 2 02-17-2008 04:45 PM
LFS chapter 5 adjusting the tool chain JusCrzn Linux From Scratch 1 12-20-2004 06:32 PM


All times are GMT -5. The time now is 03:50 AM.

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