|
|
发表于 2005-4-15 19:12:04
|
显示全部楼层
自己写一个C程序试试看gcc能不能编译:
$echo 'int main() { printf("hello, world!"); putchar(10);return 0; }' > hello.c
$gcc -o hello hello.c
$./hello
hello, world!
如果以上成功了,可能是configure找gcc时,路径不对。试试自已给configure一个路径:
$./configure CC=/usr/bin/gcc
祝好运! |
|