Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-26-2009, 09:40 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2009
Location: WV
Distribution: Debian
Posts: 28
Rep:
|
binutils pass 2 build directory
I am currently at this step: http://www.linuxfromscratch.org/lfs/...ils-pass2.html
It says: "Create a separate build directory again", followed by:
Code:
mkdir -v ../binutils-build
cd ../binutils-build
From what directory are these commands to be issued? I didn't see anything about removing the original binutils-build directory.
|
|
|
|
11-26-2009, 09:56 PM
|
#2
|
|
LQ Newbie
Registered: Sep 2009
Location: WV
Distribution: Debian
Posts: 28
Original Poster
Rep:
|
I forgot about one of the initial build instructions:
Quote:
|
After installing each package, delete its source and build directories, unless specifically instructed otherwise. Deleting the sources prevents mis-configuration when the same package is reinstalled later.
|
|
|
|
|
03-09-2010, 03:12 AM
|
#3
|
|
Member
Registered: Mar 2010
Location: Tennessee, USA
Distribution: Arch, Fedora
Posts: 59
Rep:
|
I see this is an old thread, but my problem is related. I just started with LFS 6.6 and I am in Chapter 5.4. The instructions at the start of the chapter suggest a separate build directory but the instruction (mkdir -v ../binutils-build) gives a relative path. Where exactly should this build directory be? It might not be too big of an issue, but on my first time through, I would like to follow the instructions exactly.
It would seem to me that it should be /mnt/lfs/sources/binutils-build. Is this correct?
|
|
|
|
03-09-2010, 03:24 AM
|
#4
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,703
|
Hi,
@kainosnous: In general:
- Enter $LFS/sources,
- Unpack package,
- Enter package directory,
- Follow instructions given for specific package.
So in your case you should enter $LFS/sources, unpack binutiles (tar jxfv binutils-2.20.tar.bz2), enter newly created dir (cd binutils-2.20). And from this point on you follow the instructions in chapter 5.4, starting with th creation of the binutils-build directory.
This is mentioned in chapter 5.3 (last Important box)....
Hope this helps.
|
|
|
1 members found this post helpful.
|
03-09-2010, 03:42 AM
|
#5
|
|
Member
Registered: Mar 2010
Location: Tennessee, USA
Distribution: Arch, Fedora
Posts: 59
Rep:
|
Thank you very much! I read that part a couple of times, but I guess it didn't sink in. Sometimes you can miss the forest for the trees. I feel much more confident now.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:55 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|