안드로이드 개발 질문/답변
(글 수 45,052)
ndk 로
hello-jni sample 테스트를 하고 있습니다..
win 7 64비트입니다.
그리고 ndk r7 입니다..
궁금한데
cygwin 을 설치해서 꼭 컴파일을 해야 하는지요???
그냥 도스에서 ndk-build 를 하면 잘 되거든요
cygwin 을 설치해서 ndk-build 를 하면 에러가 납니다..
꼭 cygwin 설치해서 해야 하는건지..
혹시 cygwin 용도가 어케되는지 궁금하네요
정말 개념이 없으면 어렵네요.
2011.12.23 13:22:46
제가 알기로 r7부터 ndk-build를 cygwin없이도 실행할 수 있도록 추가된 것으로 알고 있습니다.
아직 안정화된게 아니라 cygwin을 이용하는게 좋긴 하겠죠.
Developer 사이트에 나온 내용중 일부
ndk-build.cmd script from the command line from your project path. The script takes exactly the same arguments as the original ndk-build script. The Windows NDK package comes with its own prebuilt binaries for GNU Make, Awk and other tools required by the build. You should not need to install anything else to get a working build system.Important: ndk-gdb does not work on Windows, so you still need Cygwin to debug.
This feature is still experimental, so feel free to try it and report issues on the public bug database or public forum. All samples and unit tests shipped with the NDK succesfully compile with this feature.




컴파일러가 필요한거지 구지 cygwin이 필요하다고 생각되지 않습니다.