Could you give the command-line you typed?
For example, what I did was like this
arm-linux-androideabi-gcc.exe -I "C:/Nim/lib" hello.c stdlib_system.c -o
hello
--sysroot="C:/Users/uname/Documents/apps/android-ndk-r16b/platforms/android-19/arch-arm"
