LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-23-2008, 03:12 AM   #1
wyylling
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/ld-linux.so.2] it's ok


but
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, 03:19 PM   #2
FLLinux
Member
 
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, 03:05 AM   #3
pixel73
LQ Newbie
 
Registered: Dec 2009
Posts: 1

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

hi

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.

cu
pixel73
 
  


Reply


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 03: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 04:23 PM
LFS 6.0 problem: GCC check err. alinsoar Linux From Scratch 11 06-03-2005 05:37 AM
gcc not working after LFS 6.0 ch 6.61 Barnette Linux From Scratch 1 01-11-2005 09:19 PM


All times are GMT -5. The time now is 08:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration