Ubuntu10.04 install arm-elf-gcc

Source: Internet
Author: User
I have been in Ubuntu10.04 download and installation of arm-elf-tools-20030314.sh (or arm-elf-tools-20040427.sh) during the problem many times, there is no detailed solution on the Internet, it is listed in this hope to provide you with some convenience. correct installation method: in the directory where the file is located, type: $ su # ls-larm-elf-tools-20030314.sh this command to display various properties of the file if the script file is

I have been in Ubuntu 10.04 download and installation of arm-elf-tools-20030314.sh (or arm-elf-tools-20040427.sh) during the many problems, there is no detailed solution on the Internet, it is listed in this hope to provide you with some convenience.

Correct installation method:

In the directory where the file is located, type:
$ Su
# Ls-l arm-elf-tools-20030314.sh

This command displays the various properties of the file, if the script file property is not executable, you also need to enter the command: # chmod 755 arm-elf-tools-20030314.sh

To change its property to an executable property, and then type the command (you must use this command, otherwise there may be problems ):

# Sh./arm-elf-tools-20030314.sh

Question 1:
Tail: cannot open '+ 43' for reading: No such file or directory

Solution: Download a arm-elf-tools-20030314.sh again in Linux (Note: Do not in Win)

We recommend that you use VIM (Note: Do not use Win)

Run the following code:
Tail + $ {SKIP }$ {SCRIPT} | gunzip | tar xvf-

Changed:
Tail-n + $ {SKIP }$ {SCRIPT} | gunzip | tar xvf-

Question 2:
Gunzip: stdin: unexpected end of file

Work und: add an empty row to the last line of the arm-elf-tools-20030314.sh (note, do not modify it under Win, VIM is recommended ).

Related Article

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.