Skip to content

版本需要注意的几点问题 #24

@zhangxy123666

Description

@zhangxy123666

NDK r10b版本
CPPFLAGS="--sysroot=$NDKROOT/platforms/android-3/arch-arm"
CFLAGS="--sysroot=$NDKROOT/platforms/android-3/arch-arm"
./configure --prefix=/data/local/Inst
--host=armv7-unknown-linux --target=armv7-unknown-linux
--with-tmpdir=/sdcard

这里要是android-3,改其他版本编译不过

另外提示找不到 tracergrind,需要设置环境
VALGRIND_LIB="/data/local/Inst/lib/valgrind/"
export VALGRIND_LIB

并且32位下需要 arm-linux-androideabi-4.8

我尝试了至少5个NDK版本,好尴尬

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions