나는 GCC를 설치 한하지만이 COMAND 실행할 때 :jailbroken iPad에서 objc (C++, c) 소스를 컴파일하는 방법은 무엇입니까?
test.c:1:18: error: stdio.h: No such file or directory
test.c: In function 'main':
test.c:5: warning: incompatible implicit declaration of builit-in function 'printf'
TEST.C :
gcc test.c
을 그것은 나를 말한다
#include <stdio.h>
int main(void)
{
printf("Hello, World!\n");
return 0;
}
iOS SDK의 헤더를 복사하면 작동합니다! 어쨌든 고마워! – HiTECNOLOGYs