I have installed two tool-chains to compile ARM/Linux in x86 host. Now, I have to compile a program for ARM/Linux (Android) with arm-eabi-gcc. This compiler doesn't have any library to use in Linux, so that I need to execute the next command to compile a C program:
arm-eabi-gcc hello.c -I/home/alejandro/android-ndk-r10c/platforms/android-21/arch-arm/usr/include -nostdlib -Wl,-rpath-link=/usr/arm-linux-gnueabi/lib -L/usr/arm-linux-gnueabi/lib -lc
But when I compile it, I get a linker warning:
ld: warning: cannot find entry symbol _start; defaulting to 000080b0
What should I do to link everything correctly?