On Jul 28, 2013, at 11:58 AM, Unix User wrote:

root:/sources/linux-3.10.2# make mrproper
make: gcc: Command not found

When you encounter issues like these, don't rely on ldd.

Rely on readelf.

readelf -e /tools/bin/gcc | grep interpreter

or any other binary.

Especially when cross compiling, ldd isn't valid. Learn to use readelf.

If you know what the output should be when looking for the interpreter, you'll be better off.

Usually if your interpreter is wrong with gcc or binutils after chroot, it means that gcc source and/or build directories were not removed before the next build.

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to