Questions on 5.13. GCC-3.4.1 - Pass 2

DrAce drace.lfs at gmail.com
Thu Jun 30 07:08:56 PDT 2005


1) The result of expect -c "spawn ls" is correct.

2) As specified in the book, you have tu run the command in the
directory where the packages where extracted. So for gcc-3.4.1 in
/mnt/lfs/sources/gcc-3.4.1


2005/6/30, Stephen Liu <satimis at yahoo.com>:
> Hi folks,
> 
> 5.13. GCC-3.4.1 - Pass 2
> http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter05/gcc-pass2.html
> 
> 1)
> In which directory to perform following test;
> expect -c "spawn ls"
> patch -Np1 -i ../gcc-3.4.1-no_fixincludes-1.patch
> patch -Np1 -i ../gcc-3.4.1-specs-1.patch
> 
> I tried follows without success;
> lfs:/mnt/lfs/sources/dejagnu-1.4.4$ expect -c "spawn
> ls"
> spawn ls
> lfs:/mnt/lfs/sources/dejagnu-1.4.4$ cd ../
> lfs:/mnt/lfs/sources$ cd gcc-3.4.1
> lfs:/mnt/lfs/sources/gcc-3.4.1$ expect -c "spawn ls"
> spawn ls
> 
> 2)
> I suppose to run following commands on
> lfs:/mnt/lfs/sources/gcc-3.4.1$  directory;
> 
> mkdir ../gcc-build
> cd ../gcc-build
> 
> Please advise.  TIA
> 
> B.R.
> Stephen Liu
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>



More information about the lfs-support mailing list