Description: 该文档主要讲述如何利用Linux系统自带的automake,autoscan等工具自动生成工程的Makefile文件,是本人在实际项目中的应用学习心得。-The document focuses on how to use Linux system comes with the automake, autoscan engineering tools such as automatic generation of Makefile files, is the actual project I learned of the application. Platform: |
Size: 122880 |
Author:gomo |
Hits:
Description: 该文档主要讲述如何利用Linux系统自带的automake,autoscan,autotool等工具自动生成工程的Makefile文件,编译生成动态和静态库文件,是本人在实际项目中的应用学习心得。linhanzu@gmail.com-The document focuses on how to use Linux system comes with the automake, autoscan, autotool tools such as automatic generation of project Makefile file, the compiler to generate dynamic and static library files is the actual project I learned of the application. linhanzu@gmail.com Platform: |
Size: 80896 |
Author:gomo |
Hits:
Description: 说明:包含程序和代码。
该程序源代码用于创建automake.am和其他文件。用于linux下制作makefile文件。
1. 把src_makefile和automake.exe拷贝到需要创建automake.am的主目录。
2. 执行automake.exe,点击 创建automake.am文件,默认选择当前目录。确定后得到一组文件src_makefile。
3. 将linux工程和src_makefile目录下的所有文件放于linux下同一个目录下。
4. 依次使用如下命令创建 makefile文件及对linux项目进行编译。
autoscan
aclocal
autoconf
autoheader
automake
./configure
make
5. 如果编译出错,去掉automake.am中的一些库,比如liblua.a,增加工程需要的linux库,重新编译。-Description: Contains the program and code. The source code used to create automake.am and other documents. Produced under the makefile for linux. 1 copy to the src_makefile and automake.exe automake.am need to create the home directory. 2 Executive automake.exe, click Create automake.am file, select the current default directory. Determined to be a group of files src_makefile. 3 Engineering and src_makefile the linux directory to put all the files in a directory in linux the same below. 4 in order to use the following command to create a makefile and build the project on linux. autoscan aclocal autoconf autoheader automake./configure make 5. If the compilation error, remove the automake.am in some libraries, such as liblua.a, increase the linux library needed for the project, re-compile. Platform: |
Size: 158720 |
Author:hanjie |
Hits: