zoukankan      html  css  js  c++  java
  • Mstar 编译器的搭建

    机顶盒:

    1、解压“mipsisa32-elf-3.4.4-20101123.i386linux.tar.gz"

      应用编译器

    2、mips-4.3-51-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2

      BOOT编译器

    3、make dep

      重新制定依赖

    4、编译CRC报错:

      ln -sf /bin/bash /bin/sh

    5、环境变量设置

      /opt/mips-4.3/bin:/opt/gnutools/mipsisa32-elf-3.4.4/bin

      export PATH=$PATH:/opt/mips-4.3/bin:/opt/gnutools/mipsisa32-elf-3.4.4/bin

    ./../../boot/mboot/CRC32.exe: 1: ./../../boot/mboot/CRC32.exe: MZ not found
    ./../../boot/mboot/CRC32.exe: 1: ./../../boot/mboot/CRC32.exe: @: not found
    ./../../boot/mboot/CRC32.exe: 2: ./../../boot/mboot/CRC32.exe: 0: not found
    Xnot foundot/mboot/CRC32.exe: 29: ./../../boot/mboot/CRC32.exe: 8

    NONOS-aeon

    提示:

    /bin/sh: /bin/gawk: No such file or directory

    解压:aeon.tar.gz

    sudo cp /usr/bin/gawk   /bin

    export PATH=/opt/mstar/aeon/bin:$PATH

    或者:

    sudo apt-get install gawk

    或者:

    下载安装:下载地址 http://ftp.gnu.org/gnu/gawk/

    解压之后是一个文件夹, gawk-4.0.1,然后下面都是在终端开始用命令行操作。
    
    【一】终端 cd 到这个文件夹
    
    ./configure --prefix=/usr --libexecdir=/usr/lib
    
    make
    
    make check
    
    sudo make install
  • 相关阅读:
    BZOJ3193: [JLOI2013]地形生成
    ARG102E:Stop. Otherwise...
    51NOD1847:奇怪的数学题
    大型大常数多项式模板(已卡常...)
    CF932G Palindrome Partition
    51nod1538:一道难题(常系数线性递推/Cayley-Hamilton定理)
    HTML——meta标签
    HTTP 格式
    Node.js——Async
    设计模式——外观模式
  • 原文地址:https://www.cnblogs.com/jiangzhaowei/p/5384758.html
Copyright © 2011-2022 走看看