LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS6.1toolchain+busybox+kernel=can not run gcc? (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs6-1toolchain-busybox-kernel%3Dcan-not-run-gcc-483058/)

augustus 09-13-2006 07:18 AM

LFS6.1toolchain+busybox+kernel=can not run gcc?
 
after i completed my lfs6.1,i build another simple system,just kernle+busybox in another hardware,and the system can be booted,and reach the busybox's shell,then,i copy the lfs toolchain to the new system,but can not execute the tools in the toolchain,why?
i compile bash-3.0 in the lfs system with "-static",and copy bash to my simple system,and the bash can execute.

can someone give me some hints?
thanks!

Vitalie Ciubotaru 10-08-2006 05:33 PM

What do you actually want to do?

thloh85 10-11-2006 10:39 AM

I think that your system /lib/libc.so.6 must be there. It is been quite long since i rebuild LFS, so... i practically forgot the actual file, but there is a file which you must copy to /lib for the gcc to work, because gcc relies on glibc.
Hope this helps


All times are GMT -5. The time now is 07:25 AM.