请教一下一个小疑问,
今日给同事帮忙,
在Debian的虚拟机上用g++编译了.so文件,供android机子用。
我很好奇,这个交叉编译环境编出来的.so可以用在android手机上?
debian:/home/zhangling/EnDecryptor# g++ --version
g++ (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
debian:/home/zhangling/EnDecryptor#
debian:/home/zhangling/EnDecryptor# g++ _Encryption.cpp encryption.h -fPIC -shared -o libencryption.so
debian:/home/zhangling/EnDecryptor#