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.
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.
|
|
05-13-2003, 04:52 PM
|
#1
|
Member
Registered: Oct 2002
Posts: 44
Rep:
|
Not sure what to do for "Locking in" Glibc
Hi All,
What do I have to do for "Locking in" Glibc?
The pdf does not say what directory to run this in.
I'm a little confused.
Thanks
|
|
|
05-13-2003, 05:01 PM
|
#2
|
Member
Registered: Oct 2002
Posts: 44
Original Poster
Rep:
|
OK,
cleaned up my script, looks like there was an error.
#!/bin/bash -x
BASE_DIR=$LFS_PACKAGES
BUILD_DIR=$BASE_DIR/binutils-build
cd $BUILD_DIR \
&& make -C ld install-data-local \
&& SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs \
&& cp ${SPECFILE} ./XX \
&& sed 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} \
&& unset SPECFILE \
&& rm -f ./XX
|
|
|
05-13-2003, 05:03 PM
|
#3
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
If you plan to use the CVS book you really should subscribe to the lfs-dev mailinglist to stay abreast of all the latest happenings. I do not recommend using the CVS book unless you know what you are doing - CVS just isn't ready yet for the uninformed.
To answer your question: run that make command from within the binutils-build directory. If you look at the "make -C ld" part you should have recognized it from the binutils-pass1 installation.
|
|
|
05-13-2003, 05:23 PM
|
#4
|
Member
Registered: Oct 2002
Posts: 44
Original Poster
Rep:
|
If I do not use the CVS book, what should I use?
Thanks
|
|
|
05-13-2003, 05:57 PM
|
#5
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Use a stable release book: Version 4.1
CVS is our development "play ground" where the new things go into. It's not guaranteed to always work either. It's in a high state of flux.
|
|
|
05-13-2003, 10:48 PM
|
#6
|
Member
Registered: Oct 2002
Posts: 44
Original Poster
Rep:
|
OK,
Thanks
|
|
|
All times are GMT -5. The time now is 07:19 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
|
|