linux 打包 | autoconf 使用方法

  • 面试题 嵌入式 0x10道题目
    • 宏定义
      • #define 宏体 宏体 (大写) #define SECOND_OF_YEAR (365*24*3600)UL 可移植性
    • 数据声明
      • 一个存有10个指针的数组int *a[10];一个指向有10个整形数数组的指针 int (*a)[10]
    • static
      • 修饰符使用
      • static 修饰局部变量 局部静态化
      • 全局变量 防止重命名 限制变量名在本文件使用
      • 全局函数 防止重命名 限制变量名在本文件使用
    • const C:只读 不具备强制性 !=常量 C++:常量
    • volatile 防止c语言编译器优化,寄存器,多线程
    • 位操作 set a |= (0x01<<3) reset a &~(0x01<<3)
    • 固定内存位置 int *p=(int*)0x67a9 p[0] = 0xaa66
  • autotool 使用
    • autoscan -->更改.sacn -->>.ac/.I
    • aclocal
    • 编写Makefile.am
    • autoconf
    • autoheader
    • automake --add-missing

猜你喜欢

转载自www.cnblogs.com/xiaote/p/10852137.html