LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-28-2014, 02:42 PM   #1
sholizar
LQ Newbie
 
Registered: Sep 2014
Posts: 28

Rep: Reputation: Disabled
LFS 7.5 chapter 5.10.1 gcc installation pass 2. need to be sure with something


i get into this section:

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:

case `uname -m` in
i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;;
esac"


i don't know if to apply this or no.
my host system is arch x64.
here they specify x86 and i use x64, but i want to be sure i *don't* need to use this command.
or maybe i should?
thanks
 
Old 09-28-2014, 03:11 PM   #2
sholizar
LQ Newbie
 
Registered: Sep 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
i also see that in the stable lfs (now it's 7.6. very new) they omitted this section.
so can i ignore this?
 
Old 09-29-2014, 07:00 AM   #3
oblo
Member
 
Registered: May 2014
Location: Rome, Italy
Distribution: LFS 7.6
Posts: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by sholizar View Post
case `uname -m` in
i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;;
esac"
You can skip it.
 
Old 09-29-2014, 07:14 AM   #4
sholizar
LQ Newbie
 
Registered: Sep 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
thank you .
 
  


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
libgcc Compile errors during LFS 6.8 chapter 5.5 (GCC pass 1) 1nKoGn17o Linux From Scratch 7 08-03-2011 03:07 AM
Makefile:274: *** missing separator. Stop. LFS, Chapter 5, GCC-4.5.1 Pass 2 b.morgan.296 Linux From Scratch 6 01-05-2011 05:09 PM
LFS 6.6 - Chapter 5.5 - make[2]: *** [buildgetconstants.o] Error 1 - GCC Pass 1 malikcpp Linux From Scratch 3 06-29-2010 08:09 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

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

All times are GMT -5. The time now is 06:26 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