How to Build the software environment of the system using or1200

Source: Internet
Author: User

Use pre-compiled tool chains

Download:

FTP: // ocuser: [email protected]/toolchain/or32-elf-linux-x86.tar.bz2

Extract

Tar xjf or32-elf-linux-x86.tar.bz2


Decompress will generate a new folder, or32-elf/export file path, add the following command ~ /. Bashrc File

Vim ~ /. Bashrc

Add at the end of the text

Export Path = $ path:/home/mark/work/or32-elf/bin

Trial

Command Line input or32-elf-, press TAB twice

$ Or32-elf-

Or32-elf-addr2line or32-elf-gcov or32-elf-objdump

Or32-elf-ar or32-elf-gdb or32-elf-profile

Or32-elf-as or32-elf-gdbtui or32-elf-ranlib

Or32-elf-c + + filt or32-elf-gprof or32-elf-readelf

Or32-elf-cpp or32-elf-ld or32-elf-sim

Or32-elf-gcc or32-elf-mprofile or32-elf-size

Or32-elf-gcc-4.2.2 or32-elf-nm or32-elf-strings

Or32-elf-gccbug or32-elf-objcopy or32-elf-strip


You can


Problems:

1. Unable to connect to the virtual machine when using pietty and securecrt for remote login

Solution:

Disable Firewall Service iptables stop

Enable SSH service sshd restart


2. Because I use the 64-bit centos6.5 version, the tool chain only supports x86

Solution:

Install the 32-bit library in yum.


Command:

 yum install -y libstdc++*.i686 ncurses*.i686 gtk2*.i686 glibc*.i686  libXxf86vm*.i686 libSM*.i686 PackageKit-gtk-module*.i686 libcanberra-gtk2*.i686 

How to Build the software environment of the system using or1200

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.