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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
fs:/mnt/lfs/sources/glibc-build$ echo 'int main(){}' > dummy.c
lfs:/mnt/lfs/sources/glibc-build$ $LFS_TGT-gcc dummy.c
"bash: x86_64-lfs-linux-gnu-gcc: command not found"
lfs:/mnt/lfs/sources/glibc-build$ readelf -l a.out | grep ': /tools'
im starting to build my own os from scratch im geting error in glibc pass 1 error in compling my gcc how to fix tell
echo 'int main(){}' > dummy.c
$LFS_TGT-gcc dummy.c
"bash: x86_64-lfs-linux-gnu-gcc: command not found"
So look in /tools/bin and find out what's in there. It should contain x86_64-lfs-linux-gnu-gcc. If it doesn't, then you didn't build gcc correctly. Go back and do it again.
im checking this /tools/bin i was found x86_64-lfs-linux-gnu (gcc not) present can you plz help mi hazel im very thankful if you help this problem how to correct it gcc compliation
im install 1st binutils 2nd gcc 3rd was linux api 4th is glibc pass1 there is error how can i solve
Last edited by Suraj Patil; 06-14-2016 at 12:25 PM.
im checking this /tools/bin i was found x86_64-lfs-linux-gnu (gcc not) present can you plz help mi hazel im very thankful if you help this problem how to correct it gcc compliation
im install 1st binutils 2nd gcc 3rd was linux api 4th is glibc pass1 there is error how can i solve
Doing LFS is great way to learn. Your next step right now is
what can i due to resolve this error give mi neet answer im very thankulful for this
how to solve glibc pass1 error is any one give mi proper answer plz
im checking this /tools/bin i was found x86_64-lfs-linux-gnu (gcc not) present can you plz help mi hazel im very thankful if you help this problem how to correct it gcc compilation
So if that file is really gcc, it clearly has the wrong name. Since you are so near the beginning of chapter 5, my advice would be to clear out the whole /tools tree and start the chapter again. This time be more careful.
Having to restart because of errors is not unusual on your first LFS build.
what can i due to resolve this error give mi neet answer im very thankulful for this
how to solve glibc pass1 error is any one give mi proper answer plz
Friendly advice. You are not going to attract much help with postings like this. No attempt to get grammar right, using text speak (violation of LQ rules), these are red flags that keep potential helpers away.
can anyone help me with this error I'm very very disappointed about this how to properly compile a gcc-5.2.0 and fix Glibc pass1 error
help for this I'm checking /tools/bin there is no x86_64-lfs-gnu-gcc
Hi this is an older version of lfs 7.8. There is anewer version 7.9 start using that.
Also which host system are you using?
maybe post the output of the version-check.sh To make sure host is compliant.
I'm using Cent os 7 for build lfs I don't know what exactly problem to build gcc5.2.0 what can I due right know plz tell mi proper steps to compile successful all packages I'm very thankful if u give solution for this
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.