1. Development Platform:
Operating System: Ubuntu 14.04 (RedHat and other systems are said to be inconvenient to use. This is the recommended Linux operating system)
Virtual Machine: VMware 10.0 (Latest Version)
Software Interface: QTE (qt-embeded)
Cross-compilation tool: arm-linux-gcc-4.3.2
PS: These software can be easily found online without a connection address.
Build a cross-compilation environment in Ubuntu
Install arm-linux-gcc-4.3.2
2. Installation Package preparation:
Download arm-linux-gcc-4.3.2.tar.gz
Any location in the system file.
It is best to download the installation package in the XP environment, and then drag the installation package to any location in ubuntu in the virtual machine. (Vmware tools supports dragging from XP to virtual machines)
3. Installation Steps
1. Install the Standard C Development Environment
Bkjia @ ubuntu :~ $ Sudo apt-get install gcc g ++ libgpc3 libg ++ make gdb
Or
Bkjia @ ubuntu :~ $ Sudo apt-get install build-essential
2. decompress:
Bkjia @ ubuntu :~ $ Sudo tar xvzf arm-linux-gcc-4.3.2.tgz-C/
Note: C is followed by a space and C is in uppercase. It is the first letter of the English word "Change,
Here is how to change the directory.
-C/: Decompress the package to the specified directory. The root directory is specified here. Because the directory structure inside the package contains usr/local/arm, therefore, to decompress the package to the root directory is to decompress the file to the/usr/local/arm folder.
Run this command to install arm-linux-gcc to the/usr/local/arm/4.3.2 directory.
For more details, please continue to read the highlights on the next page: