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


Closed Thread
  Search this Thread
Old 04-07-2011, 03:32 AM   #1
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Rep: Reputation: 0
5.10. GCC-4.5.1 - Pass 2(lfs-6.7-pageno-46)


5.10. GCC-4.5.1 - Pass 2
lfs:/mnt/lfs/sources$ tar -jxf gcc-4.5.1.tar.bz2
lfs:/mnt/lfs/sources$ cd gcc-4.5.1

lfs:/mnt/lfs/sources/gcc-4.5.1$ patch -Np1 -i ../gcc-4.5.1-startfiles_fix-1.patch
patching file gcc/gcc.c
Hunk #1 succeeded at 7083 with fuzz 1 (offset 713 lines).

lfs:/mnt/lfs/sources/gcc-4.5.1$ cp -v gcc/Makefile.in{,.orig}
`gcc/Makefile.in' -> `gcc/Makefile.in.orig'

lfs:/mnt/lfs/sources/gcc-4.5.1$ sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in

lfs:/mnt/lfs/sources/gcc-4.5.1$ cp -v gcc/Makefile.in{,.tmp}
`gcc/Makefile.in' -> `gcc/Makefile.in.tmp'

lfs:/mnt/lfs/sources/gcc-4.5.1$ sed 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \
> > gcc/Makefile.in


////////////////////////////////////////////////////
lfs6.7(page no-46)
--------------------------------
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_INCLUDE_DIR
#define STANDARD_INCLUDE_DIR 0
#define STANDARD_STARTFILE_PREFIX_1 ""
#define STANDARD_STARTFILE_PREFIX_2 ""' >> $file
touch $file.orig
done
----------------------------------------------

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

here i am strucking,plz any help
 
Old 04-07-2011, 09:27 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Don't double post the same question, it is against the LQ rules.

Continue in this thread: strucking gcc-4.5.1-pass2(lfs-6.7)

Reported.
 
1 members found this post helpful.
Old 04-07-2011, 01:01 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed 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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS 6.7 gcc pass 1 clarification prakashsince92 Linux From Scratch 7 12-30-2010 02:57 AM
gcc second pass does not compile. LFS version 6.4 5.12 arielsegal Linux From Scratch 18 06-15-2009 11:12 AM
LFS-5.0 GCC problem with binutils-2.14 pass 1 NCappaZoo Linux From Scratch 6 06-14-2009 03:47 AM
LFS - 5.4. GCC-3.4.3 - Pass 1 - Failed cruiseoveride Linux From Scratch 7 06-07-2007 10:34 PM
LFS GCC - first pass install error arnuld Linux From Scratch 2 12-20-2006 07:59 AM

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

All times are GMT -5. The time now is 01:22 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