嵌入式linux 截图,arm截图,gsnap

一、zlib-1.2.6 gcp@gcp-virtual-machine:~/cross_compile/zlib-1.2.6$ export CC=arm-fsl-linux-gnueabi-gcc gcp@gcp-virtual-machine:~/cross_compile/zlib-1.2.6$ ./configure –prefix=$PWD/imx6_install make make install 二、libpng-1.5.6 gcp@gcp-virtual-machine:~/cross_compile/libpng-1.5.6$ ./configure –host=arm-linux CC=arm-fsl-linux-gnueabi-gcc –prefix=$PWD/imx6_install LDFLAGS=-L/home/gcp/cross_compile/zlib-1.2.6/ CPPFLAGS=-I/home/gcp/cross_compile/zlib-1.2.6/ make make install 三、jpeg-8d gcp@gcp-virtual-machine:~/cross_compile/jpeg-8d$ ./configure CC=arm-fsl-linux-gnueabi-gcc –host=arm-linux –prefix=$PWD/imx6_install make make install 四、gsnap Makefile: CC = arm-fsl-linux-gnueabi-gcc CFLAGS = -I/home/gcp/cross_compile/jpeg-8d/imx6_install/include -I/home/gcp/cross_compile/zlib-1.2.6/imx6_install/include -I/home/gcp/cross_compile/libpng-1.5.6/imx6_install/include LDFLAGS = -L/home/gcp/cross_compile/zlib-1.2.6/imx6_install/lib -L/home/gcp/cross_compile/libpng-1.5.6/imx6_install/lib -L/home/gcp/cross_compile/jpeg-8d/imx6_install/lib -lpng -ljpeg -lz targets = gsnap objs = gsnap.o all: $(targets) $(targets): $(objs) @echo “[ Building] $@” $(CC) $^ -o $@ $(LDFLAGS) %.o: %.c @echo “[GCC Compiling] $^” $(CC) $(CFLAGS) -c $^ -o $@ clean: -rm $(targets) $(objs)
<

免责声明:文章内容来自互联网,本站不对其真实性负责,也不承担任何法律责任,如有侵权等情况,请与本站联系删除。
转载请注明出处:嵌入式linux 截图,arm截图,gsnap https://www.yhzz.com.cn/a/21625.html

上一篇 2023-08-15 22:24:28
下一篇 2023-08-15 22:56:47

相关推荐

联系云恒

在线留言: 我要留言
客服热线:400-600-0310
工作时间:周一至周六,08:30-17:30,节假日休息。