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

 

你可能感兴趣的:(操作系统)