
UC-8100-LX Software Manual
Programmer's Guide
6-3
The host tool chain that comes with UC-8100-LX series contains a suite of cross compilers and other tools, as
well as the libraries and headers that are necessary to compile applications for UC-8100 series. The host
environment must be running Linux to install the UC-8100 series GNU Tool Chain. We have confirmed that the
following Linux distributions can be used to install the tool chain:
Redhat 7.3/8.0/9.0, Fefora core 1~20, Debian 4/5/6,7 32/64 bits platform.
The Tool Chain will need about 300 MB of hard disk space on your PC. To install, download the tool-chain file
from Moxa official website.
After you untar the package, run the install script and follow its instruction.
user@Linux:/home#sh arm-linux-gnueabihf_4.7_Build_130415.sh
Welcome to MOXA ARM Linux platform toolchain installer.
This toolchain built with arm-linux-gnueabihf compiler v4.7.3 and glibc v2.15.
Any problem please contact [email protected]
Press the number:
1.Install Linux cross compiler tool.
2.Uninstall Linux cross compiler tool.
3.Exit or CTRL+C
1
usr/local/arm-linux-gnueabihf-4.7-20130415/
usr/local/arm-linux-gnueabihf-4.7-20130415/bin/
usr/local/arm-linux-gnueabihf-4.7-20130415/bin/arm-linux-gnueabihf-gcc-ranlib
usr/local/arm-linux-gnueabihf-4.7-20130415/bin/arm-linux-gnueabihf-ld
usr/local/arm-linux-gnueabihf-4.7-20130415/bin/arm-linux-gnueabihf-objcopy
usr/local/arm-linux-gnueabihf-4.7-20130415/bin/arm-linux-gnueabihf-ld.gold
...
...
usr/local/arm-linux-gnueabihf-4.7-20130415/lib/gcc/arm-linux-gnueabihf/4.7.3/incl
ude/stdbool.h
usr/local/arm-linux-gnueabihf-4.7-20130415/lib/gcc/arm-linux-gnueabihf/4.7.3/incl
ude/mf-runtime.h
usr/local/arm-linux-gnueabihf-4.7-20130415/lib/gcc/arm-linux-gnueabihf/4.7.3/incl
ude/mmintrin.h
usr/local/arm-linux-gnueabihf-4.7-20130415/lib/gcc/arm-linux-gnueabihf/4.7.3/incl
ude/stddef.h
usr/local/arm-linux-gnueabihf-4.7-20130415/20130415-gcc-linaro-arm-linux-gnueabih
f
----------------------------------------------
arm-linux-gnueabihf install complete
Please export these environment variables before using toolchain:
export PATH=$PATH:/usr/local/arm-linux-gnueabihf-4.7-20130415/bin
Wait for a few minutes while the Tool Chain is installed automatically on your Linux PC. Once the host
environment has been installed, add the directory
/usr/local/arm-linux-gnueabihf-4.7-20130415//bin
to your path and the directory
/usr/local/arm-linux-gnueabihf-4.7-20130415//man
to your manual path. You can do this
temporarily for the current login session by issuing the following commands:
#export PATH=“/usr/local/arm-linux-gnueabihf-4.7-20130415//bin:$PATH”