交叉编译:
修改zip30/unix/Makefile
CROSS=/opt/buildroot_350/build_arm/staging_dir/usr/bin/arm-linux-
CC = ${CROSS}gcc
BIND = $(CC)
AS = $(CC) -c
#CPP = /lib/cpp
CPP = ${CC} -E
E =
编译:
[guowenxue@localhost zip30]$ make -f unix/Makefile generic
修改unzip60/unix/Makefile
CROSS=/opt/buildroot_350/build_arm/staging_dir/usr/bin/arm-linux-
CC = ${CROSS}gcc # try using "gcc" target rather than changing this (CC and LD
LD = $(CC)# must match, else "unresolved symbol: ___main" is possible)
AS = ${CROSS}as
....
STRIP = ${CROSS}strip
编译:
[guowenxue@localhost unzip60]$ make generic -f unix/Makefile
阅读(8672) | 评论(0) | 转发(0) |