Visit Jeremy's Blog.
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.


  Search this Thread
Old 09-23-2008, 04:12 AM   #1
LQ Newbie
Registered: Sep 2008
Posts: 8

Rep: Reputation: 0
LFS 6.12. GCC-4.1.2 startfiles problem

when use echo 'main(){}' > dummy.c
cc dummy.c -v -Wl,--verbose &> dummy.log
readelf -l a.out | grep ': /lib' The output is [Requesting program interpreter: /lib/] it's ok

grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log
grep -B3 '^ /usr/include' dummy.log

There is nothing output,what's the problem? it seems that it doesnt find the startfiles and header files..... everything else is ok.

can anyone help me?Thanks in advance
Old 09-24-2008, 04:19 PM   #2
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Rep: Reputation: 15
All the other greps on the dummy.log file work?
Old 12-15-2009, 04:05 AM   #3
LQ Newbie
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
LFS 6.3, Chapter 6.12: GCC-4.1.2 startfiles problem


i have the same problem as wyylling. all the other greps on the dummy.log file work fine. what could be the problem?

i am also working with LFS 6.3. and now i am stuck at chapter 6.12 gcc-4.1.2 because there is no output at:
grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log.

what do i have to do that the startfiles are found?

thanks in advance for your help.



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
LFS-5.0 GCC problem with binutils-2.14 pass 1 NCappaZoo Linux From Scratch 6 06-14-2009 04:47 AM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 05:23 PM
LFS 6.0 problem: GCC check err. alinsoar Linux From Scratch 11 06-03-2005 06:37 AM
gcc not working after LFS 6.0 ch 6.61 Barnette Linux From Scratch 1 01-11-2005 10:19 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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