Article Title: several methods for setting compiler paths in Linux. Linux is a technology channel of the IT lab in China. It includes some basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source. Assume that your compiler is 2.95.3 under the/usr/local/arm directory.
Method (1): directly input the code in shell. After the path is set, the setting takes effect immediately. After the current shell is turned off, the setting fails.
Export PATH =/usr/local/arm/2.95.3/bin: $ PATH
Method (2):/* after the path is set, it takes effect after the environment variable is re-read, but the setting is still valid when the current shell is turned off */
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