Next time somebody arrives at Chapter 5 - GCC Pass 2, please try the following...

Trent Shea trent.shea at gmail.com
Wed May 27 18:38:48 PDT 2009


On Wednesday 27 May 2009 18:42:37 Gerard Beekmans wrote:
> Hiya,
>
> Next time somebody arrives at Chapter 5 - GCC Pass 2, can you deviate
> slightly from the book and try out the change mentioned in Ticket #2413
> at http://wiki.linuxfromscratch.org/lfs/ticket/2413
>
> I just deleted my Chapter 5 so I was wondering if one of you guys is
> already in the process of running a test. If so, it'd be appreciated if
> you can try out the suggested change in that ticket.
>
> Its milestone is currently 7.0 but I think it makes a fine 6.5 candidate
> as it's a quick & easy one.
>
> Gerard

The two commands behave differently.

Original:
for file in \
 $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
do
  echo $file;
done

gcc/config/mips/linux.h
gcc/config/mips/linux64.h
gcc/config/xtensa/linux.h
gcc/config/linux.h
gcc/config/mn10300/linux.h
gcc/config/m68k/linux.h
gcc/config/ia64/linux.h
gcc/config/ia64/sysv4.h
gcc/config/sh/linux.h
gcc/config/frv/linux.h
gcc/config/rs6000/linux.h
gcc/config/rs6000/linux64.h
gcc/config/rs6000/sysv4.h
gcc/config/s390/linux.h
gcc/config/cris/linux.h
gcc/config/m32r/linux.h
gcc/config/alpha/linux.h
gcc/config/i386/linux.h
gcc/config/i386/linux64.h
gcc/config/i386/sysv4.h
gcc/config/sparc/linux.h
gcc/config/sparc/linux64.h
gcc/config/sparc/sysv4.h
gcc/config/bfin/linux.h


New:
for file in gcc/config/linux64.h gcc/config/linux.h gcc/config/sysv4.h;
do
  echo $file;
done

gcc/config/linux64.h
gcc/config/linux.h
gcc/config/sysv4.h


Trent.



More information about the lfs-dev mailing list