smith.aaron wrote:

Have run into difficulty trying to install binutils at the start of LFS
chapter 5. I spent the last two days slowly re-reading up to chapter
five, googling around, and correcting any mistakes I found, but to no
avail. I found plenty online close to describing my specific symptoms,
but nothing that exactly addressed it, or enabled me to figure the
problem out.

First here is the terminal output where I encounter the problem:

!Y+lfs@kali:/mnt/sda7/sources/binutils-2.27/build$ ../configure
--prefix=/tools            \

>              --with-sysroot=$LFS        \

>              --with-lib-path=/tools/lib \

>              --target=$LFS_TGT          \

>              --disable-nls              \

>              --disable-werror

configure: error: in `/mnt/sda7/sources/binutils-2.27/build':

configure: error: C compiler cannot create executables

See `config.log' for more details.

What does this give you on the host?

$ cat > hello.c << EOF
#include <stdio.h>
int main()
{
  printf("Hello World\n");
  return 0;
}
EOF

$ gcc -o hello hello.c
$ ./hello

  -- 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

Reply via email to