
UC-8100-LX Software Manual
Programmer's Guide
6-2
51B
Linux Tool Chain Introduction
Linux Tool-Chain contains the necessary libraries and compilers for you to develop your program. UC-8100
series supports both native and cross- compile. Native compile is more straightforward as the all the coding and
compilation can be done directly on UC-8100-LX but constrained by the resource of ARM CPU, the speed for
compilation is slower. On the other hand, cross compile can be done on any Linux machine with the correct
tool-chain and is much faster in terms of compilation speed.
132B
Native Compilation
Follow these steps to update package menu.
1.
Make sure network connection is available.
2.
Use
apt-get update
to update Debian package list.
moxa@Moxa:~$ sudo apt-get update
3.
Install native compiler and necessary packages
moxa@Moxa:~$ sudo apt-get install gcc build-essential flex bison automake
133B
Cross Compilation
To ensure that an application will be able to run correctly when installed on UC-8100-LX series, you must
ensure that it is compiled and linked to the same libraries that will be present on the UC-8100-LX series. This
is particularly true when the RISC Cortex processor architecture of the UC-8100 series differs from the CISC
x86 processor architecture of the host system, but it is also true if the processor architecture is the same.
Toolchain
Source code
Binary
Toolchain
Source code
Binary
Binary
Содержание UC-8100-LX
Страница 8: ...UC 8100 LX Software Getting Started 2 2...
Страница 38: ...UC 8100 LX Software Manual Security On UC 8100 LX 4 2...