brown wrap wrote:

> From: Bruce Dubbs <[email protected]>

> brown wrap wrote:
>>
>> I am just starting the build of 7.0. The last time I posted was back
>> in version 6.5. Anyway, I have a question about the patching of gcc.
>> The directions in the book showing patching 4.6.1. The patch now is
>> 4.6.2. I tried to apply the patch, substituting the new patch and was
>> prompted, as to what file to patch. Is the below line the correct
>> format to patch gcc from the binutils-build directory? Thanks.
>>
>> patch -Np1 -i ../gcc-4.6.2-cross_compile-1.patch
> 
> If you are using LFS-7.0, use the packages and patches that it references:
> 
> http://www.linuxfromscratch.org/lfs/view/stable/chapter03/patches.html
> 
> Also, read section 3.1.  It tells you how to check if you have all the 
> right packages.

First of all, trim your responses.  You responded after the footer which 
makes is very difficult to include your message.  You also post using 
html which also creates problems.  Try something other than yahoo.

 > I read the section 3.1 and successfully patched glibc, then I tried
 > patching gcc and ran into the same sort of problem. See below:

 > fs:~/gcc-build$ patch -Np1 -i ../gcc-4.6.2-startfiles_fix-1.patch
 > can't find file to patch at input line 22
 > Perhaps you used the wrong -p or --strip option?

You need to learn to read English. gcc-4.6.2-startfiles_fix-1.patch is
                                        ^^^^^
never mentioned in LFS7.  It says to use 
http://www.linuxfromscratch.org/patches/lfs/7.0/gcc-4.6.1-startfiles_fix-1.patch
                                                     ^^^^^

You are mixing the 7.0 and development versions of the book.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to