MySQL 移植编译 移植tree到安卓手机
Posted 上下博客
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MySQL 移植编译 移植tree到安卓手机相关的知识,希望对你有一定的参考价值。
.
├── CHANGES
├── color.c
├── doc
│ ├── tree.1
│ ├── tree.1.fr
│ └── xml.dtd
├── file.c
├── hash.c
├── html.c
├── INSTALL
├── json.c
├── LICENSE
├── Makefile
├── README
├── strverscmp.c
├── TODO
├── tree.c
├── tree.h
├── unix.c
└── xml.c
prefix = /usr
CC=gcc
VERSION=1.8.0
TREE_DEST=tree
BINDIR=${prefix}/bin
MAN=tree.1
MANDIR=${prefix}/man/man1
OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o file.o
CFLAGS=-ggdb -pedantic -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
LOCAL_PATH := $(call my-dir)
LOCAL_MODULE := tree
LOCAL_CFLAGS += -mstackrealign
LOCAL_LDFLAGS += -mstackrealign
LOCAL_SRC_FILES := tree.c unix.c html.c xml.c json.c hash.c color.c file.c strverscmp.c
LOCAL_MODULE_FILENAME := libtree
include $(BUILD_EXECUTABLE)
APP_ABI := x86
APP_CPPFLAGS := -frtti
C:\Users\Administrator\Desktop\tree-1.8.0>ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=Application.mk APP_BUILD_SCRIPT=Android.mk
fcntl(): Bad file descriptor
Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16.
[x86] Compile : tree <= tree.c
[ ] Executable : libtree
[ ] Install : libtree => libs/x86/libtree
ndkVersion :"22.0.7026061"
:Windows 10
以上是关于MySQL 移植编译 移植tree到安卓手机的主要内容,如果未能解决你的问题,请参考以下文章