Linux-arm installation of cross-tool compilation chains and installation of VMware Tools

Source: Internet
Author: User
Tags bz2 gcov

 First, the file to be prepared is arm-2009q3.tar.bz2 (extract code: 619b)

After that, we need to put this file in a shared folder before it can be used on Linux in the virtual machine.

1. Let's start with the installation of VMware Tools (this is installed to use shared folders) (I'm using CentOS 6.3)

(1) First, at the top of the toolbar, we open the virtual machine--Install VMware Tools (because I have installed VMware tools, so the display is reinstalled), and then your virtual machine will pop up a CD of VMware tools.

(2) The second step is to find VMware tools, we can double-click on VMware Tools, and then you can find the folder in the lower left corner of the window where it is located.

(3) go to the folder and copy the file ( Vmwaretools-9.6.2-1688356.tar.gz) to any folder, here is the/mnt/folder

1 CD/media2 CP vmwaretools-9.6.2-1688356.tar.gz/mnt/

(4) Then unzip the file

1

(5) Locate the file: vmware-install.pl, and then execute the file (./vmware-install.pl) to install it.

Once installed, set the shared folder (shared folder (option to always enable and then add a folder as set up with settings, virtual machine))

2. We'll show you how to install the Linux-arm cross-compiler tool chain

(1) After setting up the shared folder according to the above steps, we can see your shared folder in this directory (/mnt/hgfs/).

(2) Pull the file arm-2009q3.tar.bz2 to your shared folder, then copy the file to the directory in the shared folder (/usr/local/) and unzip it.

1 CP ARM-2009Q3. tar. bz2/usr/local/2tar -jxvf arm-2009q3. tar. bz2

(3) then modify path

1 Export path= $PATH:/usr/local/arm-2009q3/bin2 SOURCE/ROOT/.BASHRC

(4) You can use the command "Echo $PATH" to see if it's written in.

(5) It's a change of command.

1#!/bin/Bash2 LN-S arm-none-linux-gnueabi-GCCarm-linux-GCC3 LN-S Arm-none-linux-gnueabi-addr2line arm-linux-Addr2line4 LN-S arm-none-linux-gnueabi-ararm-linux-ar5 LN-S Arm-none-linux-gnueabi-as arm-linux- as6 LN-S arm-none-linux-gnueabi-c++ arm-linux-c++7 LN-S Arm-none-linux-gnueabi-c++filt arm-linux-c++filt8 LN-S arm-none-linux-gnueabi-CPParm-linux-CPP9 LN-S arm-none-linux-gnueabi-g++ arm-linux-g++Ten LN-S arm-none-linux-gnueabi-GCC-4.4.1arm-linux-GCC-4.4.1 One LN-S Arm-none-linux-gnueabi-gcov arm-linux-Gcov A LN-S Arm-none-linux-gnueabi-gdb arm-linux-gdb - LN-S Arm-none-linux-gnueabi-gdbtui arm-linux-Gdbtui - LN-S Arm-none-linux-gnueabi-gprof arm-linux-gprof the LN-S arm-none-linux-gnueabi-LDarm-linux-LD - LN-S ARM-NONE-LINUX-GNUEABI-NM arm-linux-nm - LN-S Arm-none-linux-gnueabi-objcopy arm-linux-objcopy - LN-S Arm-none-linux-gnueabi-objdump arm-linux-Objdump + LN-S Arm-none-linux-gnueabi-ranlib arm-linux-Ranlib - LN-S Arm-none-linux-gnueabi-readelf arm-linux-readelf + LN-S Arm-none-linux-gnueabi-size arm-linux-size A LN-S Arm-none-linux-gnueabi-sprite arm-linux-Sprite at LN-S Arm-none-linux-gnueabi-strings arm-linux-Strings - LN-S Arm-none-linux-gnueabi-strip arm-linux-strip

This makes it possible to use the.

(6) In any directory execution (ARM-LINUX-GCC-V) to see whether the version number, if the version number is displayed, the installation is successful.

Installation of the Linux-arm cross-tool compilation chain and installation of VMware tools

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.