gcc pass1 in chap5 doesn't get very far!
I seem to be having a right nightmare with LFS at the moment. I decided to go back to the beginning and start again. This time I've only got as far a gcc-3.3.1 pass 1 in chaptet 5, which is pretty pathetic :(. After I've done the configuration, which seems to go OK, I do the first make as shown below, and it responds with this error:-
$ make BOOT_LDFLAGS="-static" bootstrap Bootstrapping the compiler make[1]: Entering directory `/lfs/sources/gcc-build/gcc' make[1]: *** No rule to make target `../../gcc-3.3.1/gcc/version.c', needed by `config.status'. Stop. make[1]: Leaving directory `/lfs/sources/gcc-build/gcc' make: *** [bootstrap] Error 2 Is the version.c file supposed to generated by the configure script? Because it certainly isn't there, and isn't in the gcc-core tarball. I'm sure this is something really simple I've missed out, but I've really losing faith at the moment. |
it's been awhile since I did this..........
did you happen to forget a patch??? |
No, this is only pass 1 (right at the very beginning!), so according to the book there are no patches needed here.
|
I found the problem, it was the gcc-core-3.3.1.tar had somehow got corrupted, so there were some files missing when it unpacked itself. Possibly bunzip2 playing silly games or something.
|
All times are GMT -5. The time now is 05:16 AM. |