LinuxQuestions.org
Visit Jeremy's Blog.
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 07-10-2011, 09:51 PM   #1
golarbol
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Rep: Reputation: Disabled
GCC-4.5.2 - Pass 2 / unsetting the multilib spec for GCC


Hi,

If i'm not building on x86_64 computer, do i have to enter this command present on chapter 5.10.1

Code:
case $(uname -m) in
  x86_64)
    for file in $(find gcc/config -name t-linux64) ; do \
      cp -v $file{,.orig}
      sed '/MULTILIB_OSDIRNAMES/d' $file.orig > $file
    done
  ;;
esac
Thanks for reading.

Last edited by golarbol; 07-10-2011 at 11:17 PM.
 
Old 07-11-2011, 02:13 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

All the commands need to be executed. There are some exceptions, but if this is the case it is mentioned specifically by the book.

If you take a look at the above code block you'll see that the cp and sed commands are only executed in a specific case (if the output of the uname -m command equals x86_64).

BTW: If you're level of expertise isn't high enough to be able to understand what a relative simple command block like the above does, you might be in for a rough ride. I can only point you to what is being said in the LFS documentation: vi. Prerequisites.

Hope this helps.
 
Old 07-11-2011, 07:30 AM   #3
golarbol
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks druuna.
 
  


Reply

Tags
gcc pass2, lfs, x86_64



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] multilib glibc gcc upgrade bmxcess Slackware 3 05-27-2010 09:48 AM
Blacklisting gcc/glibc with slackpkg in multilib-current damgar Slackware 1 01-04-2010 11:15 PM
gcc 4.4.2 in testing: problem trying multilib setup ponce Slackware 0 11-02-2009 01:40 AM
questions on GCC-3.4.3 - Pass 2 and Binutils-2.15.94.0.2.2 - Pass 2 satimis Linux From Scratch 7 12-26-2005 09:23 PM
GCC second pass Mystified Linux From Scratch 6 07-28-2005 09:21 PM

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

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

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