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.
- Are you sure you used the lfs user for _all_ the previous steps in chapter 5?
ans:yes i am in lfs usr all previous steps in chapter 5(means lfs:/mnt/lfs)
- Did you remove the source tree after doing gcc pass 1?
yes i removed sources dir,build dir after first gcc pass 1
in second pass i untared gcc pkg,i entered the gcc source dir
lfs:/mnt/lfs$ $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
its coming here permission denied
if want any info i will
What do you get when you do this?
ls -l /mnt/lfs/sources/gcc/config/cris/linux.h[/CODE][/QUOTE]
reslut following
ls:cannot access /mnt/lfs/sources/gccc/cris/linux.h:no such file or directory
lfs:/mnt/lfs/sources/gcc-4.5.1$ $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
bash: gcc/config/cris/linux.h: Permission denied
-------------------------------------------------------------------
i did fresh from starting
see new result
lfs:/mnt/lfs/sources/gcc-4.5.1$ $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
bash: gcc/config/i386/sysv4.h: Permission denied
i hope this will,u can give soltution now
why i am getting diff (when i start fresh)
thanks
for file in \
$(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
do
.
.
done
The above code can also be written as:
Code:
for file in $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
do
.
.
done
Only executing the $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h) part will _not_ work (you'll get a Permission Denied message in this specific case).
This find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h would work, but that is not what is in the book and not what was intended.
Like I stated many times before: You should follow the book. Copy and paste these commands to make sure you do not make any mistakes.
The following is one command k,
but ,where i have to run this step(commands)
i should not skip this step right?
------------------------------------------------------------
for file in $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
do
.
.
done
-------------------------------------------------------------
before doing this step i should not move to pgno-47 (furhter) right
can u explain in detail about this step only
plz
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.