On 08/15/2016 07:26 PM, Andrew Millspaugh wrote:
Hi I’m getting an error when trying to follow 6.10. Adjustiong the
tollchain. Here is what error I’m getting.



Echo ‘int main(){}’ >dummy.c

Cc dummy.c -v -Wl,--verbose &> dummy.log

Readelf -l a.out | grep ‘: /lib



ERROR



root:/sources/zlib-1.2.8# echo 'int main(){}' > dummy.c
root:/sources/zlib-1.2.8# cc dummy.c -v -Wl,--verbose &> dummy.log
root:/sources/zlib-1.2.8# readelf -l a.out | grep ': /lib'
readelf: Error: 'a.out': No such file
root:/sources/zlib-1.2.8#



Where did I go wrong on this, please help. Thaks

The first step is to look at the contents of dummy.log. You can also paste it into a pastebin site or email so we can see it.

--
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

Reply via email to