Arm-linux-gcc: Command not found

Source: Internet
Author: User

Arm-linux-gcc: Command not found

1. Set the current user environment variable (invalid for root users)
Open the terminal and enter:
Www.linuxidc.com @ linuxidc :~ $ Sudo gedit ~ /. Bashrc
[Sudo] password for www.linuxidc.com:
Add at the end:
Export PATH =/opt/EmbedSky/4.3.3/bin: $ PATH, where/opt/EmbedSky/4.3.3/bin is the environment variable PATH you need to set.
To make it take effect immediately, run the following command on the terminal:
Www.linuxidc.com @ linuxidc :~ $ Source ~ /. Bashrc
Or restart your computer.

2. Set system environment variables (effective for root users)
Open the terminal and enter:
Www.linuxidc.com @ linuxidc :~ $ Sudo gedit/etc/environment
[Sudo] password for www.linuxidc.com:
Add "colon:" add "your environment variable PATH" at the end of PATH = "...".
To make it effective immediately, run the following command on the terminal:
Www.linuxidc.com @ linuxidc :~ $ Source/etc/environment
Or restart your computer.

If the above test fails, you can add the following sentence at the end of the/etc/profile file!
Export PATH = $ PATH:/opt/EmbedSky/4.3.3/bin

Run the command: root @ ubantu:/opt/EmbedSky/4.3.3/bin # arm-linux-gcc-v (there must be a space between gcc and-v, otherwise, the command cannot be found)
Result: gcc version 4.3.3 is successful.

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.