Moxa UC-8410A-T-LX [64/86] Linux tool chain introduction

Moxa UC-8410A-T-LX [64/86] Linux tool chain introduction
UC-8410A Series Linux Software Programmer’s Guide
6-2
Linux Tool Chain Introduction
Linux Tool-Chain contains the necessary libraries and compilers for developing your programs. The UC-8410A
series computers support both native and cross-compiling of code. Native compiling is more straightforward
since all the coding and compilation can be done directly on the UC-8410A-LX, but since you will be constrained
by the UC-8410A’s ARM CPU resources, the compilation speed is slower. On the other hand, cross compiling can
be done on any Linux machine with the correct tool-chain, and the compilation speed is much faster.
Native Compilation
Follow these steps to update the package menu.
1. Make sure network connection is available.
2. Use apt-get update to update the Debian package list.
moxa@Moxa:~$ sudo apt-get update
3. Install the native compiler and necessary packages
moxa@Moxa:~$ sudo apt-get install gcc build-essential flex bison automake

Содержание

Скачать