problem setting up c compiler in toolchain
I just tried testing the c compiler, via the instructions in the LFS book, and it didn't work:
Code:
lfs@debian:/mnt/lfs/sources/linux-libc-headers-2.6.12.0$ cc dummy.c |
Yeah it cannot find the c library.
Redo the glibc install and ensure you have installed in the correct location. |
thanks. i entered the command as given in the LFS book with --prefix=/tools (which links to /mnt/lfs/tools). do you know where i should install it or what i should change when i recompile glibc?
|
now when i try to compile glibc, i get the error:
Code:
checking for long double... yes |
You may need to back up a few steps here.
If you are building the initial toolchain then you should be doing that with your GCC on the system (or live disk). If you have gone ahead a few steps and are in the chroot then you will be doing it with the version in there. So, you need to review where you are, and ensure you have not broken your system toolchain (if you are using a live disk though you can just reboot). |
All times are GMT -5. The time now is 12:02 AM. |