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 07-10-2011, 10: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-11-2011 at 12:17 AM.
 
Old 07-11-2011, 03:13 AM   #2
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
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, 08: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


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
[SOLVED] multilib glibc gcc upgrade bmxcess Slackware 3 05-27-2010 10:48 AM
Blacklisting gcc/glibc with slackpkg in multilib-current damgar Slackware 1 01-05-2010 12:15 AM
gcc 4.4.2 in testing: problem trying multilib setup ponce Slackware 0 11-02-2009 02: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 10:23 PM
GCC second pass Mystified Linux From Scratch 6 07-28-2005 10:21 PM


All times are GMT -5. The time now is 01:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration