|
|
发表于 2006-3-4 01:55:25
|
显示全部楼层
Post by wxw
谢谢!
root:/sources/binutils-build# echo 'main(){}' > dummy.
root:/sources/binutils-build# cc dummy.c
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find /lib/libc.so.6
collect2: ld returned 1 exit status
运行readelf -l a.out | grep ': /lib'后报告没有a.out.
请帮忙!
其实我觉得改成 grep | '/lib' 会更好,不管是什么结果,我们都可以看到。Book 上的这一点我不喜欢,只能看到正确的。。呵呵。。
应该是找 /tools/lib/libc.so.6 的吧?。。。 |
|