ChinaUnix.net
相关文章推荐:

linux autoconf

安装coreseek提示autoconf版本太低 怎么升级

by bao880530 - Linux系统管理 - 2012-12-17 11:59:27 阅读(1617) 回复(0)

相关讨论

1、autoscan   autoscan是用来扫描源代码目录生成configure.scan文件的。autoscan可以用目录名做为参数,但如果你不使用参数的话,那么autoscan将认为使用的是当前目录。autoscan将扫描你所指定目录中的源文件,并创建configure.scan文件。   2、configure.scan   configure.scan包含了   系统配置的基本选项,里面都是一些宏定义。我们需要将它改名为configure.in   3、aclocal   aclocal是一个perl脚本程序。acloc...

by sdccf - Linux文档专区 - 2008-03-22 09:55:33 阅读(411) 回复(0)

作为linux下的程序开发人员,大家一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便。一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么容易了。   在本文中,将给大家介绍如何使用 autoconf和automake两个工具来帮助我们自动地生成符合自由软件惯例的Makefile,这样就可以象常见的GNU程序一样,只要使用“./configure”,“make”,“make instal”就可以把程...

by oldstorm - Linux文档专区 - 2010-09-01 10:17:55 阅读(2220) 回复(1)

我的问题是: 1) 如何才能在各自的目录产生.o文件 2) 在这种多目录的项目中该如何使用autoconf等工具自动生成Makefile -- 我的测试目录如下,有三个目录 ============================================= -- maketest/ |-- hello/ |-- hello.cpp |-- include/ |-- funcs.h |-- funcs/ |-- funcs.cpp ---funcs.h---- #include

by BeagleTam - C/C++ - 2003-06-27 17:19:49 阅读(1846) 回复(2)

刚学内核源码,知道在makemenuconfig后有autoconf.h生成,并且被所以C源文件包含。究竟这个autoconf.h是怎么生成的,是make工具?还是脚本?

by nevermore4030 - 内核源码 - 2013-07-23 22:54:39 阅读(6584) 回复(3)

linux 下面有没有什么好的IDE 可以避免手工调用autoconf 和 automake 等命令?

by Meets - C/C++ - 2012-03-10 13:29:08 阅读(1494) 回复(2)

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。 http://mypyg.blog.51cto.com/820446/216595 经常有程序需要交叉编译,手工写Makefile写的太混乱了,学习用Autotools来生成Makefile方便许多。 下面记录了一个mp3播放器简单程序使用Autotools的步骤。 播放器支持使用OSS接口,也支持使用ALSA接口来输出声音。 1.进入工程目录,执行autoscan,在此目录下生...

by liubingzhq - Linux文档专区 - 2010-01-20 14:53:24 阅读(874) 回复(0)

http://bbs.chinaunix.net/viewthread.php?tid=417883&extra=&page=1 先来举一个简单的例子吧。如何写用code1.c, code2.c生成 prog1的configure.in和Makefile.am。 首先建立一个项目文件夹tt。在tt下建立dir1目录。 CODE:[kj501@s2023 dir1]$ mkdir tt [kj501@s2023 dir1]$ mkdir tt/dir1 然后在dir1目录中分别建立code1.c, code1.h, code2.c, code2.h,由于楼主没有给出源代码,我自己写了几个简单的语句,以便说明问题。 下面是...

by cssjtuer - Linux文档专区 - 2009-09-23 21:16:34 阅读(654) 回复(0)

http://www.linuxforum.net/books/autoconf.html 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/66039/showart_529076.html

by zxg623 - Linux文档专区 - 2008-04-13 00:28:20 阅读(657) 回复(0)

autoconf Creating Automatic Configuration Scripts Edition 2.13, for autoconf version 2.13 December 1998 by David MacKenzie and Ben Elliston 目录 介绍 创建configure脚本 编写`configure.in' 用autoscan创建`configure.in' 用ifnames列举条件 用autoconf创建configure 用autoreconf更新configure脚本 初始化和输出文件 寻找configure的输入文件 创建输出文件 Makefile中的替换 预...

by zxg623 - Linux文档专区 - 2008-04-13 00:27:26 阅读(985) 回复(0)

netinet/sctp.h: present but cannot be compiled configure: WARNING: netinet/sctp.h: check for missing prerequisite headers? configure: WARNING: netinet/sctp.h: see the autoconf documentation configure: WARNING: netinet/sctp.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/sctp.h: proceeding with the preprocessor's result configure: WARNING: netinet/sctp.h: in the futu...

by stonecold - Linux论坛 - 2005-03-26 14:08:51 阅读(645) 回复(0)