Timothy Rice wrote:
Dear all,
I'm having trouble compiling `dummy.c` in Ch 5.7 of both Stable and
Development LFS. As you know, it is unwise to continue without being able
to compile this file.
The problem is that when linking, $LFS_TGT-gcc is having trouble finding
`crti.o` and `crt1.o` in /tools/lib. However, `ls /tools/lib` plainly
reveals that these files at least exist. I'm fairly sure I've compiled
binutils and gcc with the correct paths.
When I do a partial compile using "-c" and then run $LFS_TGT-ld manually,
no errors are output. That is, the following succeeds:
~~~
$LFS_TGT-gcc -c dummy.c
$LFS_TGT-ld -lc /tools/lib/crt* dummy.o
~~~
What is the output of 'ls -ld /tools'
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style