tcc 编译问题
本帖最后由 shihyu 于 2016-05-15 15:46 编辑http://bellard.org/tcc/
tcc-0.9.26
./configure&& make#include <stdio.h>
int main(int argc, char *argv[])
{
printf("Hello world\n");
return 0;
}
./tcc hello.c -o hello
In file included from hello.c:1:
/usr/include/stdio.h:33: error: include file 'stddef.h' not found./tcchello.c-I include/ -L. -o test
tcc: error: file '/usr/local/lib/tcc/libtcc1.a' not foundtcc 只能make install 才可以吗?
libtcc1.a 在当前目录下 , 加上 -L. 为什么还是不行?
谢谢
不用make install,可以试试
./tcc -B. hello.c -o hello 本帖最后由 shihyu 于 2016-05-16 23:52 编辑
回复 2# 爻易
可以了感谢
页:
[1]