Click here to Close
 
打印

[APP开发] can't locate for file: -lcrt1.o

can't locate for file: -lcrt1.o

按照置顶的教程建立了环境,然后make的时候出这个错,怎么弄呢?

TOP

在你的cygwin shell里面输入
LD_LIBRARY_PATH=/usr/local/arm-apple-darwin/lib
export LD_LIBRARY_PATH

再make, everything is ok!

TOP

太感谢了!!!我折腾半天了

为什么我make里面加了-L/usr/local/arm-apple-darwin/lib 就不行呢,照你说得做就可以

TOP