-   Linux From Scratch (
-   -   GCC-4.5.2 - Pass 2 / unsetting the multilib spec for GCC (

golarbol 07-10-2011 09:51 PM

GCC-4.5.2 - Pass 2 / unsetting the multilib spec for GCC

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


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

Thanks for reading.

druuna 07-11-2011 02:13 AM


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.

golarbol 07-11-2011 07:30 AM

Thanks druuna.

All times are GMT -5. The time now is 10:25 AM.