Android移植和交叉编译
来源:互联网 发布:安卓慢镜头拍摄软件 编辑:程序博客网 时间:2024/05/15 23:52
Android.mk
# Copyright 2006 The Android Open Source ProjectLOCAL_PATH:= $(call my-dir)include $(CLEAR_VARS)LOCAL_SRC_FILES:= \ hello.cLOCAL_SHARED_LIBRARIES := \ liblog \ libcutils \ libdl# temporary hack for broken vendor rilsLOCAL_WHOLE_STATIC_LIBRARIES := \ librilutils_staticLOCAL_MODULE:= helloinclude $(BUILD_EXECUTABLE)
hello.c
#include <stdio.h>#include <stdlib.h>#define cprintf(fmt,args...) do { \ FILE *fp = fopen ("/dev/console", "w"); \ if (fp) { \ fprintf(fp, fmt, ## args ); \ fclose(fp); \ } \} while (0)int main(){ printf("hello world!\n"); return 0;}
0 0
- Android移植和交叉编译
- PHP交叉编译和移植
- Python交叉编译和移植
- PHP交叉编译和移植
- OpenSSH交叉编译和移植
- Python交叉编译和移植
- ipmitool 交叉编译移植到arm(android)
- wireless-tools移植和交叉编译
- Python 基于arm 交叉编译和移植
- wireless-tools移植和交叉编译
- wireless-tools移植和交叉编译
- qt应用程序的交叉编译和移植
- x264的交叉编译和移植
- madplay移植-交叉编译
- 交叉编译库移植
- busybox交叉编译+移植
- valgrind交叉编译移植
- Android系统移植1--创建ARM-Linux交叉编译环境
- ZOJ1733-Common Subsequence
- grep如何忽略.svn目录,以及如何忽略多个目录
- hdu4811(思维题)
- iOS去除数组中重复元素的几种方法
- Handler异步消息处理机制的源码分析
- Android移植和交叉编译
- Blinn–Phong Shading Model
- 《谷歌和亚马逊如何做产品》读书笔记之一:赢在使命和策略
- 画板项目
- Service和Thread的关系
- CAPEX和OPEX解析
- 特征点匹配——ORB算法介绍
- Java实现限定方法执行时间-java 1.5以上的Future类可以执行超时处理
- The Law of Refraction