gcc: No such file or directory
I know I posted this in the LFS forum just now, but it was only then I realized that the volume of people who read that forum are slim to none, and I'm in a hurry for an answer so I apologize for double-posting.
I've been following the Linux from Scratch book to the T from the beginning. My problem is I can't run gcc from inside the chroot environment. Outside the environment, running a /tools/bin/gcc -v (/tools points to /mnt/lfs/tools) outputs the gcc version 3.3.1 I built during the install. This is fine and expected. However, when I chroot into /mnt/lfs and try to run gcc, either using "gcc" or explicitly calling /tools/bin/gcc, I get a no such file or directory error. I can run any other program in /tools/bin except the compiler toolchain. This has me completely stumped. Anyone have any idea what's wrong?