- 论坛徽章:
- 0
|
流氓无产者 发表于 2012-04-24 09:15 ![]()
应该是不能运行报的错,你check一下编译的文件,编译的时候注意看一下编译的指令,估计有问题
在Makefile中指定交叉编译器,make
CC = arm-none-linux-gnueabi-gcc
## Other tools you need to modify for cross compile (static lib only).
AR = arm-none-linux-gnueabi-ar
RANLIB = arm-none-linux-gnueabi-ranlib
CFLAGS=-Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I.
DEPFLAGS=-MMD
PICFLAG=-fPIC
# file iwconfig
iwconfig: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
还是不知道该怎么解决,这样移植的linux下能运行,android不能运行
|
|