zoukankan      html  css  js  c++  java
  • wireless_tools交叉编译

    wireless_tools交叉编译:

    1.cd wireless_tools.29

    2.mkdir __install

    3.git df Makefile

     1 diff --git a/Makefile b/Makefile
     2 index 2e43159..fcb0c30 100644
     3 --- a/Makefile
     4 +++ b/Makefile
     5 @@ -4,14 +4,15 @@
     6 
     7  ## Installation directory. By default, go in /usr/local.
     8  ## Distributions should probably use /, but they probably know better...
     9 +PREFIX = /home/trl/Documents/wifi_ap/wireless_tools.29/__install
    10  ifndef PREFIX
    11    PREFIX = /usr/local
    12  endif
    13 
    14  ## Compiler to use (modify this for cross compile).
    15 -CC = gcc
    16 +CC = arm-linux-gnueabihf-gcc
    17  ## Other tools you need to modify for cross compile (static lib only).
    18 -AR = ar
    19 +AR = arm-linux-gnueabihf-ar
    20  RANLIB = ranlib
    21 
    22  ## Uncomment this to build tools using static version of the library.

    4.make

    5.make install

  • 相关阅读:
    PHP 单态设计模式
    五中常见的PHP设计模式
    PHP如何定义类及其成员属性与操作
    thinkphp 中MVC思想
    1.4 算法
    1.3 迭代器
    1.2 容器-container
    1.1 STL 概述
    2.3顺序容器-deque
    2.2 顺序容器-list
  • 原文地址:https://www.cnblogs.com/live-program/p/11041714.html
Copyright © 2011-2022 走看看