LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 04-10-2016, 02:12 PM   #1
helmet1980
Member
 
Registered: Apr 2016
Distribution: Debian
Posts: 40

Rep: Reputation: Disabled
Cool Doubt with script


Hi, I'm frank.
I have a problem with gcc script and I have no idea what is the problem with this package. I installed binutils successfully, but I have a problem with this message

lfs@*****:/mnt/lfs/sources/gcc-5.3.0/build$ for file in \
> $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
> do
> cp -uv $file{,.orig}
> sed -e 's@/lib\(64\)\?\(32\)\?/ld@/tools&@g' \
> -e 's@/usr@/tools@g' $file.orig > $file
> echo '
> #undef STANDARD_STARTFILE_PREFIX_1
> #undef STANDARD_STARTFILE_PREFIX_2
> #define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"
> #define STANDARD_STARTFILE_PREFIX_2 ""' >> $file
> touch $file.orig
> done
find: `gcc/config': No such file or directory

Please, I hope you can help me out.

Just having some fun.
Thanks!

Last edited by helmet1980; 04-10-2016 at 02:13 PM.
 
Old 04-10-2016, 02:54 PM   #2
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
You're not supposed to be in the build directory yet. Go up a directory and try again.
 
Old 04-10-2016, 03:12 PM   #3
helmet1980
Member
 
Registered: Apr 2016
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: Disabled
Cool It worked out.

It worked out.
Thank you very much.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubt in the output when modules dependency builded using busybox script depmod.pl ayyasprings Linux - Embedded & Single-board computer 2 09-04-2014 02:58 AM
cgi script + onchange - doubt kshkid Programming 1 06-30-2008 12:53 AM
Doubt in shell script malru AIX 2 11-24-2006 07:59 AM
A doubt !!! gabsik Linux - Networking 1 07-20-2006 12:54 PM
"Doubt in Java Script" manikantha Programming 1 09-29-2004 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration