In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
First, select the appropriate cross-compilation tool chain
Find a cross-compilation tool chain (arm-linux-gcc) that matches your target development platform (Soc) as much as possible
For example, arm-2009q3 can be used to develop programs related to the S5PV210 platform, because Samsung officially uses this version of the cross-compilation tool chain when developing S5pv210, so the choice is to match as much as possible to avoid potential problems caused by tools in the development process.
II. Installation of cross-compilation tool chain
1. Choose the appropriate installation path
In the virtual machine, create a folder arm under the / usr/local/ path, which installs the cross-compilation tool chain under the / usr/local/arm path.
This path is selected for the general installation path, reasonable placement, easy to find and use, theoretically installed in other places is also possible.
Note: the / bin directory places some applications used by users that come with the system.
In the / sbin directory are the system management applications that come with the system.
2. Installation
Put the installation package arm-2009q3.tar.bz2 under the / usr/local/arm path, and type tar-jxvf arm-2009q3.tar.bz2 to decompress it. After the decompression is completed, the installation is completed. At this point, the complete installation path is in the / usr/local/arm/arm-2009q3/bin directory.
After the installation is completed, the test is carried out by entering the installation directory (/ usr/local/arm/arm-2009q3/bin), typing. / arm-none-linux-gnueabi-gcc-v, and then there will be some information output, see "gcc version 4.4.1", that is, the installation is successful.
3. In the course of use, you can:
1. Export the tool chain to the environment variable export PATH=/usr/local/arm/arm-2009q3/bin:$PATH
2. Create an arm-linux-xxx symbolic link for the tool chain ln arm-none-linux-gnueabi-addr2line-s arm-linux-addr2line
Easy to use.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.