微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 嵌入式设计 > Ubuntu9.10制作ARM交叉编译器

Ubuntu9.10制作ARM交叉编译器

时间:11-09 来源:互联网 点击:
本环境内核版本:Linux ubuntu910 2.6.31-21-generic #59-Ubuntu SMPi686 GNU/Linux

准备软件包如下:

bison_13a2.3.dfsg-4build1_i386.deb

build-essential_11.4_i386.deb

flex_2.5.33-10build1_i386.deb

libncurses5-dev_5.6+20071124-1ubuntu2_i386.deb

m4_1.4.8-1build1_i386.deb

patch_2.5.9-5_i386.deb

gcc-3.4.5.tar.gz

glibc-2.3.6.tar.gz

linux-2.6.26.5.tar.gz

crosstool-0.43.tar.gz

binutils-2.15.tar.gz

glibc-linuxthreads-2.3.3.tar.gz

linux-libc-headers-2.6.12.0.tar.bz2

furtherchan@ubuntu910:~/Downloads$sudo dpkg -i m4_1.4.8-1build1_i386.deb

[sudo] password for furtherchan:

Selecting previously deselected package m4.

(Reading database ... 191676 files and directories currently installed.)

Unpacking m4 (from m4_1.4.8-1build1_i386.deb) ...

Setting up m4 (1.4.8-1build1) ...

Ignoring install-info called from maintainer script

The package m4 should be rebuild with new debhelper to get trigger support

Processing triggers for install-info ...

Processing triggers for man-db ...

furtherchan@ubuntu910:~/Downloads$sudo dpkg -i bison_13a2.3.dfsg-4build1_i386.deb

Selecting previously deselected package bison.

(Reading database ... 191725 files and directories currently installed.)

Unpacking bison (from bison_13a2.3.dfsg-4build1_i386.deb) ...

Setting up bison (1:2.3.dfsg-4build1) ...

update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode.

Processing triggers for man-db ...

furtherchan@ubuntu910:~/Downloads$sudo dpkg -i build-essential_11.4_i386.deb

(Reading database ... 191752 files and directories currently installed.)

Preparing to replace build-essential 11.4 (using build-essential_11.4_i386.deb) ...

Unpacking replacement build-essential ...

Setting up build-essential (11.4) ...

furtherchan@ubuntu910:~/Downloads$sudo dpkg -i flex_2.5.33-10build1_i386.deb

Selecting previously deselected package flex.

(Reading database ... 191752 files and directories currently installed.)

Unpacking flex (from flex_2.5.33-10build1_i386.deb) ...

Setting up flex (2.5.33-10build1) ...

Ignoring install-info called from maintainer script

The package flex should be rebuild with new debhelper to get trigger support

Ignoring install-info called from maintainer script

The package flex should be rebuild with new debhelper to get trigger support

Processing triggers for install-info ...

Processing triggers for man-db ...

^[[Afurtherchan@ubuntu910:~/Downloads$sudo dpkg -i patch_2.5.9-5_i386.deb

(Reading database ... 191775 files and directories currently installed.)

Preparing to replace patch 2.5.9-5 (using patch_2.5.9-5_i386.deb) ...

Unpacking replacement patch ...

Setting up patch (2.5.9-5) ...

Processing triggers for man-db ...

furtherchan@ubuntu910:~/Downloads$sudo dpkg –i libncurses5-dev_5.6+20071124-1ubuntu2_i386.deb

Selecting previously deselected package libncurses5-dev.

(Reading database ... 191775 files and directories currently installed.)

Unpacking libncurses5-dev (from libncurses5-dev_5.6+20071124-1ubuntu2_i386.deb) ...

dpkg: dependency problems prevent configuration of libncurses5-dev:

libncurses5-dev depends on libncurses5 (= 5.6+20071124-1ubuntu2); however:

Version of libncurses5 on system is 5.7+20090803-2ubuntu2.

#注释:出错,libncurses5在9.10上是5.7+20090803-2ubuntu2,不影响下面,暂且跳过

dpkg: error processing libncurses5-dev (--install):

dependency problems - leaving unconfigured

Processing triggers for man-db ...

Errors were encountered while processing:

libncurses5-dev

furtherchan@ubuntu910:~/Downloads$

furtherchan@ubuntu910:~/Downloads$sudo dpkg -i gcc-4.1_4.1.2-23ubuntu3_i386.deb

(Reading database ... 192865 files and directories currently installed.)

Preparing to replace gcc-4.1 4.1.2

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top