Results 1 to 8 of 8
Hi All,
I am following LFS-version 6.4 and the host system is SuSE 11.0.
Everything was successful till installing Glibc(section 5.7).Then I entered the section 5.8 Adjusting the Toolchain.
When ...
- 05-22-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 63
LFS: Adjusting the toolchain problem
Hi All,
I am following LFS-version 6.4 and the host system is SuSE 11.0.
Everything was successful till installing Glibc(section 5.7).Then I entered the section 5.8 Adjusting the Toolchain.
When I did :
gcc -dumpspecs | sed 's@/lib/ld-linux.so.2@/tools&@g' \
> `dirname $(gcc -print-libgcc-file-name)`/specs
I got the following error :
sed: can't read /mnt/point1/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.3.2/specs : No such file or directory.
(NOTE: my LFS partition is /dev/sda4 mounted on /mnt/point1 )
Then I decided to ignore it and went ahead with next instructions.After a while,as soon as I typed:
echo 'main(){}' > dummy.c
cc dummy.c
it showed the error:
cc: unrecognized option '-mtune=generic'
Please tell me what to do.
- 05-22-2009 #2
If want to try LFS to learn more about Linux then go ahead. If you want to try LFS only to create custom root file system.then I believe there must be a simple way to create custom root file system...rather than going with LFS. ( But I don't know the answer for it)
I think i also did the same mistake of ignoring errors (i thought there are simple errors ) and went ahead but only to find more errors.Then I decided to ignore it and went ahead with next instructions
So i would suggest you stop and rectify any error before proceeding.
(LFS also has checklist kind of thing ...they provide sample program to execute and run ..don't miss them too)
It's really hard to find the solution,
(I hope to spent next two days in LFS ..let's see .)
I hope you read this before starting
LFS Errata
LFS also have mail-list and other supports,
dropping mail there may help you get in touch with friends who are current trying LFS.
General FAQ
General FAQ- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 05-22-2009 #3Just Joined!
- Join Date
- Apr 2009
- Posts
- 63
Thanks Lakshmipati,
The links are useful.I specially liked the lines :
"While LFS seems like a good guide for newbies to Linux, the reality is actually quite different. Experience with the support channels shows that LFS is hard to grasp and a frustrating experience for newbies because they lack understanding of the basic concepts."
I am having a hard time doing LFS install.But the above lines inspire me to try harder to go deep in Linux.
By the way, I got the answer here.It seems that LFS book is misleading at some points : LFS- Adjusting the Toolchain problem - LinuxQuestions.org
- 05-22-2009 #4
Yes,All the best..glad your current problem is solved with help other fellow linux guy....so be prepared to next oneI am having a hard time doing LFS install.But the above lines inspire me to try harder to go deep in Linux.
that's the strangest signature , I ever came across ..ha ha__________________
Still trying to do LFS without any success...
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 05-22-2009 #5Just Joined!
- Join Date
- Apr 2009
- Posts
- 63
LOL...my earlier signature was deleted by the moderator because it sounded like advertisement of a game(lords of war and money) which I love.So, I have put this signature temporarily till I find out a good one.You can see the discussion here in this forum :
http://www.linuxforums.org/forum/gam...-my-brute.html
- 05-22-2009 #6
I would recommend that you copy and paste all commands verbatim from now on. There's no shame in following the book to the letter and copying and pasting everything, what matters is that you learn from it. I didn't veer from the book until I was compiling my 2nd distro, and I didn't become adventurous until about my 3rd or 4th distro. These days it's more of a rough guide. Keep at it and good luck.
- 06-04-2009 #7Just Joined!
- Join Date
- Apr 2009
- Posts
- 63
Hi ! I took your advise and started copy-pasting the instructions.Now I am doing fine.
Now I am in chapter 8.3.1. Installation of the kernel
Here it is told to run the following command :
make LANG=<host_LANG_value> LC_ALL= menuconfig
It also tells to : "Be sure to replace <host_ LANG_ value> by the value of the $LANG variable from your host. If not set, you
could use instead the host's value of $LC_ ALL or $LC_ CTYPE."
I tried to do echo for $LANG,$LC_ALL and $LC_CTYPE.But,nothing was displayed.So, what should I replace "<host_ LANG_ value>" with? I am stuck with this instruction
- 06-04-2009 #8
To be honest I don't know why they do that, and it's the first time I've seen them do it. I've never had a problem running 'make menuconfig' so I would suggest to just do that. If this causes any problems, however, I'll be happy to help.


Reply With Quote