Bootstrapping: linker was not configured to use sysroots
I have a question regarding the inter workings of the configure script for gcc.
I am attempting to build LFS 7.3 "nearly" identical to the book, using a series of build scripts I have written. I had a config error while building the second pass of gcc in chapter 5. Code:
linker was not configured to use sysroots flag. I have confirmed that the second builds of binutils and gcc do not have this flag and that the first build of each do. They are both pointing to $LFS which is also set correctly. The one thing I did change in the second pass of gcc with to comment out the "--disable-bootstrap" flag. No particular reason why. I guess I just wanted to see if it would work, and I was leaving for a couple hours anyway. It didn't work. Putting the comment back fixed the problem. I have a theory about what happened. I am guessing that when bootstrapping, the second and third runs are configured with an internal config script that might use this flag. However, if that's the case. 1. The problem was found 3 minutes into compiling, during the first config. How? 2. If my theory is correct, does that mean you cannot bootstrap a native compiler? |
All times are GMT -5. The time now is 11:41 PM. |