Gcc 4.6.1 can't Find in /mnt/lfs/tools on LFS verison 7.0 using LFS_TGT
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Basically I run the commands for the book and it works out.The issue through is gcc is being installing in a libexec directory in /tools and not /tools/bin.So
when I run the command ln -vs libgccc.a `$LFS_TGT-gcc -print-libgcc-file-name | sed 's/libgcc/&eh/'`, the error I get is it
doesn't find Gcc in/tools/bin. In addition the distro I am using for the host is Fedora 17.
Hey Spikey ,
Found the output of verison-check and installed gcc and bison but I have done this before ,I have found out that grepi s verison 2.12 and not 2.51 or newer.I will
md5sum report the output and also trying configuring again and send you the log file.
bash, version 4.2.24(1)-release
/bin/sh -> /usr/bin/bash
Binutils: version 18.104.22.168.1-10.fc17 20120131
bison (GNU Bison) 2.5
yacc not found
bzip2, Version 1.0.6, 6-Sept-2010.
diff (GNU diffutils) 3.2
find (GNU findutils) 4.5.10
GNU Awk 4.0.0
/usr/bin/awk -> /usr/bin/gawk
gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
./verion-check.sh: line 17: /lib/libc.so.6: No such file or directory
grep (GNU grep) 2.12
grep (GNU grep) 2.12
Linux version 3.3.4-5.fc17.x86_64 (email@example.com) (gcc version
4.7.0 20120504 (Red Hat 4.7.0-4) (GCC) ) #1 SMP Mon May 7 17:29:34 UTC 2012
m4 (GNU M4) 1.4.16
GNU Make 3.82
./verion-check.sh: line 23: patch: command not found
GNU sed version 4.2.1
tar (GNU tar) 1.26
./verion-check.sh: line 27: makeinfo: command not found
xz (XZ Utils) 5.1.1alpha
Here is the output of verison check, see if this helps.
I installed all the software needed for the build but it doesn't build gcc all the way through and doesn't install in /tools/bin , in addtion the command after can't find libc.so.6 as it is in /lib64. Do you have any ideas on how to fix these problems.
What happens is when I compile Gcc it stops after a few seconds and then quits , in addition when I run the command after compiling gcc it states that it can't find gcc so I am assuring it isn't becoming compiled properly.