Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


Closed Thread
  Search this Thread
Old 04-07-2011, 04:32 AM   #1
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/{,.orig}
`gcc/' -> `gcc/'

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

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

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

lfs6.7(page no-46)
for file in \
$(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
cp -uv $file{,.orig}
sed -e 's@/lib\(64\)\?\(32\)\?/ld@/tools&@g' \
-e 's@/usr@/tools@g' $file.orig > $file
echo '
#define STANDARD_STARTFILE_PREFIX_2 ""' >> $file
touch $file.orig

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, 10:27 AM   #2
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)

1 members found this post helpful.
Old 04-07-2011, 02:01 PM   #3
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:57 AM
gcc second pass does not compile. LFS version 6.4 5.12 arielsegal Linux From Scratch 18 06-15-2009 12:12 PM
LFS-5.0 GCC problem with binutils-2.14 pass 1 NCappaZoo Linux From Scratch 6 06-14-2009 04:47 AM
LFS - 5.4. GCC-3.4.3 - Pass 1 - Failed cruiseoveride Linux From Scratch 7 06-07-2007 11:34 PM
LFS GCC - first pass install error arnuld Linux From Scratch 2 12-20-2006 08:59 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:55 AM.

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