【实验】编译MINIGUI应用程序
参考文档:MINIGUI-PROG-GUIDE-V1.3-C.pdf 2.4节 为MiniGUI应用程序编写Automake/Autoconf脚本12~16页主要步骤:1、创立文件夹 samples , 里面再创建src目录2、src下放置源文件3、从mde-1.3.x中复制configure.in4、在根目录下创建Makefile.am文件。内容SUBDIRS=src5、src/目录下创建Makefile.am。内容:noinst_PROGRAMS=helloworldhelloworld_SOURCES=helloworld.c6、samples下创建autogen.sh。内容如下:#!/bin/shaclocalautomake --add-missingautoconf7、$chmod +x autogen.sh8、运行如下命令生成项目Makefile$./autogen.sh$./configure --prefix=/minigui/nfsroot/ LDFLAGS=-L/minigui/nfsroot/lib CPPFLAGS=-I/minigui/nfsroot/include CFLAGS=-I/minigui/nfsroot/include9、make
相关资源:嵌入式linux应用程序开发详解pdf