解决make:arm-linux-gcc :command not found

Publisher:cxd88988Latest update time:2020-04-14 Source: eefocusKeywords:make  arm-linux-gcc  command  not  found Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Set the cross-compilation tool address arm-linux-gcc


sudo vi /etc/environment


PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/work/tools/gcc-3.4.5-glibc-2.3.6/bin"

~


Error message:


arm-linux-gcc: Command not found


reason:


1) The cross-compilation toolchain bin file path is not added to ~/.bashrc


Solution:


Need sudo vi ~/.bashrc, add at the end


: export PATH=$PATH: cross-compilation tool path/bin 


Then exit and test by entering arm-linux-gcc (you can use Tab completion) -v


Check the gcc version. If there is version information, it means that the addition is successful.

Keywords:make  arm-linux-gcc  command  not  found Reference address:解决make:arm-linux-gcc :command not found

Previous article:Development board learning Day 8: Lesson 009 gcc and arm-linux-gcc and Makefile
Next article:Briefly explain the difference between gcc and arm-linux-gcc

Recommended ReadingLatest update time:2024-11-16 13:31

Enotek Lu'an Digital Warehousing and Logistics System Production Base officially started construction
As Enotek's business volume continues to increase, the existing Jiaxing factory's production capacity has gradually reached saturation, and the construction of a new smart , efficient , modern smart factory has become an urgent need.
[robot]
Redmi Note 11 Pro/Pro+ is equipped with Dimensity 920 chip, using TSMC 6nm process
      The Redmi Note 11 series of mobile phones will be officially released at 19:00 on October 28, and the Redmi Watch 2 smartwatch will also be released at the same time.   According to the latest news from Weibo blogger @数码闲聊站, both Redmi Note 11 Pro and Redmi Note 11 Pro+ use the Dimensity 920 chip. The specific
[Mobile phone portable]
Galaxy Note10 5G version sparks controversy, Samsung and operators pass the buck
Samsung Electronics only launched the Galaxy Note10 5G version in South Korea, so the South Korean government asked Samsung Electronics to launch the LTE version, but Samsung Electronics has been slow to change its position. Now the South Korean government has issued an ultimatum, requiring Samsung Electronics and the
[Mobile phone portable]
Samsung Galaxy Note10 series upgraded to One UI 3
Jiwei.com reported on February 9 that yesterday, Samsung Galaxy's official Weibo announced that Samsung Galaxy Note10 and Note10+ have officially upgraded to One UI 3, which is deeply customized based on the Android 11 operating system. Image source: Weibo It is understood that compared with One UI 2.5, One UI 3 has
[Mobile phone portable]
Samsung Galaxy Note10 series upgraded to One UI 3
36-month anti-aging test of 6 flagship phones: vivo X Note ranks first with an aging rate of 96.35%
How long has it been since you last bought a new phone? Generally speaking, the longer a phone is used, the slower it will respond, the slower it will operate, the more it will heat up, and other issues will arise. This was more evident in Android phones than in iPhones. Therefore, the concept of "anti-aging" has beco
[Mobile phone portable]
36-month anti-aging test of 6 flagship phones: vivo X Note ranks first with an aging rate of 96.35%
ARM-LINUX-GCC simple universal makefile
#Created by JamieChu 2019-06-19 ; #Almost fully automatic, just change the value of TARGET_BIN, then throw it into the project directory and run the make command; #You can also modify VPATH to search other directories; #This makefile will automatically generate dependencies and automatically determine whether the dep
[Microcontroller]
Detailed steps to install arm-linux-gcc on Ubuntu
gcc compiled can only be used in Linux. To use it in ARM, you also need to use a cross-compilation tool: arm-linux-gcc 1. Get the compressed package First try to install it using the command line, the result is as follows: However, this method requires climbing over a firewall to obtain it (I heard from others...)
[Microcontroller]
Detailed steps to install arm-linux-gcc on Ubuntu
Solution to the "Internal command error" error in STM32 that prevents the program from being downloaded
method one: Options for target-- Debug-- settings on the right--- Connect & Reset option in the Debug column, change Nornal to With pre-reset. Effect: Sometimes it works, sometimes it doesn't. Method Two: If there is a reset button, press and hold it, then click the program download/debug button in Keil, and r
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号