Hello everyone!

I try to cross compile protobuf for an arm android architecture with the 
given configure step. 
However, the option "--enable-cross-compile" is not used as given here.

checking whether we are cross compiling... no




sudo ./configure --prefix=/home/staff/Desktop/proto_arm 
--build=armv7-android-linux-android --host=armv7-android-linux-android 
--target=armv7-android-linux-android --enable-cross-compile 
--with-protoc=/home/staff/Desktop/proto_arm/protoc 
CXXFLAGS="$(pkg-config --cflags protobuf)" LIBS="$(pkg-config --libs 
protobuf)"

I am also not sure if I specified build/target/host correctly. I want to 
run a project including protobuf on an Android Phone with Android 6 
Marshmallow, ABIs are arm64-v8a, armeabi-v7a, armeabi.

Thank you for any help!



-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to