sourcing the first packages...went surprisingly well. Then GCC came along and ruined it all.
I supposed the purpose of the LFS book is to make you think about what your actually doing and not just find a way to get to your goal...so, the book doesn't tell you much about different library's that GCC needs to build (gmp, mpfr/mpc).
Its obvious enough to know that they are needed, as they are included in the build option for gcc. There is however no reference that these packages need to be built first.
So I build the packages, and of course...GMP starts muttering about failed tests... I'm assuming it has something to do with the environment, but seeing as most other instances of this issue happens from LFS'ing from a running dist of say Ubuntu, and I'm running from a LFS CD, I cant think that this issue happens as a result of the env. maybe it really is just a fail on the side of LFS.
---EDIT---
so yes...I was wrong...
when compiling gcc, put mpc, mpcf , gmp , as freshly unpacked tar balls into the gcc source directory, move to your build directory, remove all references in build options to the above mentioned packages and the source will compile like nothing you've seen before.
run make, make check, make install and we have liftoff...
now to compile the kernel headers
No comments:
Post a Comment