gcc下编译错误
发表于 : 2007-06-15 13:32
ubuntu7.04 下用gcc编译
#include<stdio.h>
int main()
{
printf("hello\n");
return 0;
}
出现如下
test: file not recognized: File format not recognized
collect2: ld 返回 1
#include<stdio.h>
int main()
{
printf("hello\n");
return 0;
}
出现如下
test: file not recognized: File format not recognized
collect2: ld 返回 1