hans kaper wrote:
Whether I try to build LFS 7.5 or a recent SVN, whether I use LFS 7.4 or
Mint 13 as host, whether I use a laptop or a desktop, I always get the
same error in building binutils-pass2:
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in
`/mnt/lfs/sources/binutils-build':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
In that config.log I see no relevant details.
Building the other tools-packages gave no errors, but one thing that
struck me though was the result of the test after building glibc:
[Requesting program interpreter: /tools>-linux.so.2]
I copy-pasted the commands and inspected them very carefully but did not
find any clues.
I do something systematically wrong, but what?
1. What is the output of the version-check.sh script?
2. Are you user lfs?
a. What is the output of the 'env' command?
3. Does 'ls -l /tools' look like:
lrwxrwxrwx 1 root root 3 Feb 16 2014 /tools -> /mnt/lfs/tools
-- 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