Cygwin for Android-NDK programming

I read about the requirements of NDK programming on Windows which said we require Cygwin.Read about Cygwin which said we require it coz it is a way to make Windows support some linux functionality.But my question is in which stage of programming(Where Exactly) Cygwin will be required and why? Addidtional info about this topic is most welcomed

  • Android - OnClick Listener in a separate class
  • Android: OpenCV: imwrite always returns false and fails to write
  • Programming my android application with Gimbal sdk doesn't detect the gimbal beacon
  • How to unlock android phone through ADB
  • failed to resolve github repo
  • How to make TextInputLayout hint asterisk red for required fields
  • Related posts:

    AlertDialog with checkbox In android
    How Can I Know The Registered Devices In My GCM Application Cloud (List Devices)
    How to make a DLNA android mobile application?
    Adb over wifi killed off after usb disconnect?
    Error in generated values-23 file in Android
    How to implement swipe gesture in android
  • How to programmatically set / edit content of webview
  • Prevent repeating alarm from occurring on weekend
  • The application could not be saved. Please check the form for errors.?
  • How can I use FragmentManager to display Fragment A, B, C,… in a FrameLayout?
  • JPA Annotations in Android
  • Definitive version of Phonegap tutorial for Android
  • 5 Solutions collect form web for “Cygwin for Android-NDK programming”

    Android NDK starting with revision 7 doesn’t require Cygwin. See here:

    You can now build your NDK source files on Windows without Cygwin by calling the 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.

    It mentions you can not use ndk-gdb script without Cygwin. While that is true, you can actually use gdb executable directly without Cygwin, only then you’ll need to set it up properly manually.

    1. At least NDK-r8b, if you want to build your .so, you don’t need Cygwin.
    2. However, if you want to use ndk-gdb to debug your native code,you have to use Cygwin.
    3. And, in my experiment, if you ndk-gdb your native under Cygwin to debug native code which is built from windows cmd, ndk-gdb seems cannot recognize the debug info. So, for debug purpose, I build native Cygwin.

    Make command to execute file. file consists of list of c/c++ files to be compiled and also the library name(.so).

    (from NDK-r8e NDK-GDB document) At the moment ‘ndk-gdb’ requires a Unix shell to run. This means that Cygwin is required to run it on Windows. We hope to get rid of this limitation in a future NDK release.

    Cygwin is a collection of tools which provide a Linux look and feel environment for Windows.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.