I used the compiled environment arm-linux-gcc-3.4.1.tgz to copy this file to a directory on my Ubuntu computer. I am/home/murufy/Linux_GCC and run the following command: murufy @ murufy-desktop :~ $ CdLinux_GCCmurufy @ murufy-desktop :~ $ Sudotarxvzfarm-linux-gcc-3.4.1.tgz-C
I used the compiled environment arm-linux-gcc-3.4.1.tgz to copy this file to a directory on my Ubuntu computer, my is/home/murufy/Linux_GCC
Run the following command:
Murufy @ murufy-desktop :~ $ Cd Linux_GCC
Murufy @ murufy-desktop :~ $ Sudo tar xvzf arm-linux-gcc-3.4.1.tgz-C/
The command arm-linux-gcc will be installed in the/usr/local/arm/3.4.1 directory.
Then modify the environment variable.
Murufy @ murufy-desktop :~ $ Sudo gedit/etc/bash. bashrc
Add the following:
If [-d/usr/local/arm]; then
PATH =/usr/local/arm/3.4.1/bin: "$ {PATH }"
Fi
Log out of the system and enter the terminal:
Murufy @ murufy-desktop :~ $ Arm-linux-gcc-V
If it succeeds, a bunch of information is displayed, including the version number. If it fails, the command cannot be found or other errors are prompted.