안드로이드 개발 질문/답변
(글 수 45,052)
안드로이드도 리눅스라고 해서
adb shell해서 나오는 shell에서 main() function으로 "hello" 찍는 app(?)을 만들어 보려고 합니다.test1.c
.....
int main(void)
{
printf("hello");
}
arm-eabi-gcc -o test1 test1.c 이렇게 하니깐..
arm-eabi/bin/ld: crt0.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make: *** [default] Error 1
이런 에러가 납니다.
뭘 추가로 해주어야할까요?
linux 프로그래밍 보다가, 안드로이드에서 한번 해볼까 해서 해보니 안되네요
전문가분들 조언부탁드립니다.



