mostafa yasin wrote:
Dear Colleagues, When i try to compile GCC-4.9.2 - Pass 2 using the
make command, i found the bellow error. Please how to solve this
issue.
The version of the book being used:- LFS-Book 7.7
The host distribution and version being used to create LF: Red Hat
Enterprise Linux Server release 5.4 for 32bit
The package or section the problem was encountered in: GCC-4.9.2 -
Pass 2
The exact error message or symptom being received:-
checking for gawk... gawk checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc...
/mnt/lfs/sources/7.7/gcc-build/./gcc/xgcc
-B/mnt/lfs/sources/7.7/gcc-build/./gcc/
-B/tools/i686-pc-linux-gnu/bin/ -B/tools/i686-pc-linux-gnu/lib/
-isystem /tools/i686-pc-linux-gnu/include -isystem
/tools/i686-pc-linux-gnu/sys-include checking for C compiler default
output file name... a.out checking whether the C compiler works...
configure: error: in
`/mnt/lfs/sources/7.7/gcc-build/i686-pc-linux-gnu/libstdc++-v3':
configure: error: cannot run C compiled programs. If you meant to
cross compile, use `--host'. See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1 make[1]: Leaving
directory `/mnt/lfs/sources/7.7/gcc-build' make: *** [all] Error 2
What are the results of the script in Host System Requirements?
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style