This question is going to be two questions rolled into one.
1. How do you apply patches?
I understand how to run a .patch file, but I'm afraid that I do not know where to place the patch file when running it. Whenever I attempt to run a .patch file, it asks me which file I would like to patch, prompting me for a path. I have been using Linux for some time now, but I hadn't run into a .patch file until now.
2. How do I fix this error with the GCC Compilation?
On page 5.4 of LFS current stable, it tells me to to type:
I type this, and it goes through the normal quick-scrolling text that a make command usually generates, but then it stops suddenly, with an error. Here are the last several lines of the make:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
make: Entering directory '/mnt/lfs/sources/gcc-4.0.3/build-i686-pc-linux-gnu/libiberty'
make: *** No rule to make target '../include/ansidecl.h', needed by 'regex.o'. Stop.
make: Leaving directory '/mnt/lfs/sources/gcc-4.0.3/build-i686-pc-linux-gnu/libiberty'
make: *** [all-build-libiberty] Error 2
Then it just brings me back to the standard prompt:
lfslivecd:root | Fri 11 Jul 2008 6:07:38 PM GMT | /mnt/lfs/sources/gcc-4.0.3
Help much appreciated!