linux下开发的automake相关文章 之三
归纳一下linux下开发的automake相关的,没有时间写只好转载一些好的了
本文转载于: http://blog.csdn.net/absurd/archive/2006/06/12/792397.aspx
Autoconf/automake step by step
Autoconf/automake
在开源社区里,它的重要性可以说不下于
gcc
,目前除了
Xfree86
外,几乎所有的开源项目都使用
Autoconf/automake
,甚至
Xfree86
的开发人员已经计划抛弃
imake
,而采用
Autoconf/automake
作为工程管理工具了。
Autoconf/automake
冗长的手册让我犯晕。虽然我曾耐着性子浏览过一遍,但是决大部分内容,在日常工作根本用不上。加上建立工程的机会并不多,等到下一次要建立时,上次学到的知识早忘光了,还得去看手册,真是麻烦。
大多数时候,我更需要的是
step by step
的指南,只有在特殊情况下,要使用
Autoconf/automake
的高级功能时候,我才愿意去查手册。最近刚好建过几个工程,记个笔记吧,以便下次查阅。
一、建立可执行文件工程。
l
前提:
项目目录:
helloworld
源文
件:
helloworld/src/helloworld.c
l
用
autoscan
产生
configure.in
的框架:
[root@linux helloworld]# autoscan
[root@linux helloworld]# mv configure.scan configure.in
打开
configure.in
,我们可以看到:
#
-*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
AC_CONFIG_SRCDIR([src/helloworld.c])
AC_CONFIG_HEADER([config.h])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compil
相关文档:
一:前言
最近在研究android的sensor driver,主要是E-compass,其中用到了Linux input子系统.在网上也看了很多这方面的资料,感觉还是这篇分析的比较细致透彻,因此转载一下以便自己学习,同时和大家分享!
(这篇博客主要是以键盘驱动为例的,不过讲解的是Linux Input Subsystem,可以仔细的研究一下!)
键盘驱动将检 ......
Summary
PXE (Preboot eXecution Environment) is, in one persons words, Intel's attempt at making PCs work more like SUNs (
ref
). PXE
outlines a protocol for enabling the BIOS to retrieve the operating system over standard network protocols.
This document outlines the process of setting up a ......
帧缓冲(framebuffer)是 Linux 为显示设备提供的一个接口,把显存抽象后的一种设备,他允许上层应用程序在图形模式下直接对显示缓冲区进行读写操作。这种操作是抽象的,统一的。用户不必关心物理显存的位置、换页机制等等具体细节。这些都是由Framebuffer 设备驱动来完成的。
  ......
So you want to root a linux system? But, you don't know shit about it?
Well, this guide is for you.
Tools covered by this guide
-----------------------
netcat [utility for creating a backdoor shell, but can be used for a plethora of other things]
gcc [c program compiler, the h ......
1) linux目录架构
/ 根目录
/bin 常用的命令
binary file 的目錄
/boot 存放系统启动时必须读取的档案,包括核心
(kernel) 在内
/boot/grub/menu.lst GRUB设置
/boot/vmlinuz 内核
  ......