How can I specify architecture when I build a library?
I need to build a library in armeabi-v7a for an Android project.
I found -march option, so this is my command :
$ gcc -shared -o liballnet.so -fPIC *.c -march=armv7-a
But it doesn't work :
error: unknown target CPU 'armv7-a'
Any ideas?