主机:Ubuntu12.04
工具链:gcc-3.4.6-2f
安装软件:tslib-master
用龙芯mipsel-linux-gcc编译tslib-mater 时 ./configure 出现如下问题
checking for mipsel-linux-gcc... mipsel-linux-gcc
checking whether the C compiler works... no
configure: error: in `/home/xiaozijie/tslib-master':
configure: error: C compiler cannot create executables
See `config.log' for more details
查看了一下笔记,龙芯的这个工具链有点问题,
安装了之后需要/home/xiaozijie/gcc-3.4.6-2f/mipsel-linux/lib里面打开一个
libc.so
把里面的
/libc_nonshared.a
/libc.so.6
这两个文件改成当前路径就可以了!
主机:Ubuntu12.04
工具链:gcc-4.3-ls232-softfloat
安装软件:tslib-master
换了个新的工具链,用相同的方法修改libc.so里面的路径还是出现同样的问题,
我想应该是工具链的问题,很多路径都定死了,所以3.4跟4.3的工具链最好都安装到/opt里面。