gcc 4.0.3 make error
I try to build LFS 6.2 and I have a problem building gcc for a temporary system.
I do stuff as described in chapter 5.4 of LFS 6.2 book, but `make bootstrap` returns an error. Here's last few lines Code:
Bootstrapping the compiler This is c/p from bash, ant it's really strange ;) Code:
[/mnt/lfs/source/gcc-build]lfs: cd gcc/build/ Code:
[/]rile: cat /proc/version Tnx for helping! |
Hi,
Could it be that you unpacked the gcc tarbal in the wrong place? Looking at the output you posted I see this: /mnt/lfs/source/gcc-build/gcc After untarring gcc you should end up with: /mnt/lfs/source/gcc-4.0.3 The you create the separate building directory: mkdir gcc-build Now you have 2 gcc related directories in your source directory (/mnt/lfs/source/gcc-4.0.3 and /mnt/lfs/source/gcc-build) Enter the build dir and execute the ../gcc-4.0.3/configure...... and the make bootstrap command. PS: The LFS team always assumes that you have unpacked the tarbal and are standing in the newly created directory. Hope this helps. |
Actually, I did it just as you describe. Everything was on it's place.
btw: When I grab new version of gcc (from testing branch) the problem disappears. But, there was a new error ;) I'm quitting this. Or maybe I grab Slack 12 DVD and try with Pat's sources and try again. |
Quote:
btw i was also having bootstrap errors because i was (mistakenly) patching gcc with gcc-4.0.3-specs-1.patch and i didn't know it's until 5.11. GCC-4.0.3 - Pass 2 when you should patch it :p @ RiSK, yup, Slackware is g0d sent |
All times are GMT -5. The time now is 05:35 AM. |