LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 6.12. GCC-4.1.2 startfiles problem (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-6-12-gcc-4-1-2-startfiles-problem-671737/)

wyylling 09-23-2008 03:12 AM

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

FLLinux 09-24-2008 03:19 PM

All the other greps on the dummy.log file work?

pixel73 12-15-2009 03:05 AM

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


All times are GMT -5. The time now is 02:13 PM.